This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for two bugs in the specs [committed]
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Patch for two bugs in the specs [committed]
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Wed, 05 May 1999 09:58:35 -0400
I have committed this patch, which fixes two obvious bugs in the specs
for C and Objective C.
zw
1999-05-05 09:52 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* gcc.c (default_compilers): Fix brace nesting bug.
* objc/lang-specs.h: Use %i, not %g.mi, for the input file
when processing an .mi file.
===================================================================
Index: gcc.c
--- gcc.c 1999/04/16 19:52:17 1.99
+++ gcc.c 1999/05/05 13:57:42
@@ -629,7 +629,6 @@
%{!S:as %a %Y\
%{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
%{!pipe:%g.s} %A\n }}}}"
- }},
#else /* ! USE_CPPLIB */
"cpp -lang-c %{ansi:-std=c89} %{std*} %{nostdinc*}\
%{C} %{v} %{A*} %{I*} %{P} %I\
@@ -656,8 +655,8 @@
%{!S:as %a %Y\
%{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
%{!pipe:%g.s} %A\n }}}}"
- }},
#endif /* ! USE_CPPLIB */
+ }},
{"-",
{"%{E:cpp -lang-c %{ansi:-std=c89} %{std*} %{nostdinc*}\
%{C} %{v} %{A*} %{I*} %{P} %I\
===================================================================
Index: objc/lang-specs.h
--- objc/lang-specs.h 1999/04/06 09:54:30 1.6
+++ objc/lang-specs.h 1999/05/05 13:57:42
@@ -83,7 +83,7 @@
},
{".mi", {"@objc-cpp-output"}},
{"@objc-cpp-output",
- {"%{!M:%{!MM:%{!E:cc1obj %{!pipe:%g.i} %1 \
+ {"%{!M:%{!MM:%{!E:cc1obj %i %1 \
%{!Q:-quiet} -dumpbase %b.m %{d*} %{m*} %{a*}\
%{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi} \
%{traditional} %{v:-version} %{pg:-p} %{p} %{f*} \