Patch: cpp spec fix

Tom Tromey tromey@redhat.com
Fri Jan 12 09:13:00 GMT 2001


The appended patch adds `*' to a few specs for cpp.
I added it to the options which require an argument.

I believe this change is correct, but I was unable to find a
user-visible problem before the change.  I don't understand why not.

Ok?

2001-01-12  Tom Tromey  <tromey@redhat.com>

	* gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.

Tom

Index: gcc.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/gcc.c,v
retrieving revision 1.199
diff -u -r1.199 gcc.c
--- gcc.c	2001/01/10 21:32:15	1.199
+++ gcc.c	2001/01/12 17:12:33
@@ -591,7 +591,7 @@
  %{std*} %{nostdinc*}\
  %{C} %{v} %{I*} %{P} %{$} %I\
  %{MD:-M -MF %{!o: %b.d}%{o*:%.d%*}} %{MMD:-MM -MF %{!o: %b.d}%{o*:%.d%*}}\
- %{M} %{MM} %{MF} %{MG} %{MP} %{MQ} %{MT} %{M|MD|MM|MMD:%{o*:-MQ %*}}\
+ %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{M|MD|MM|MMD:%{o*:-MQ %*}}\
  %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\
  %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\
  %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\


More information about the Gcc-patches mailing list