OSDN Git Service

PR driver/30246
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Feb 2007 19:35:06 +0000 (19:35 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Feb 2007 19:35:06 +0000 (19:35 +0000)
* gcc.c (cpp_unique_options): Any of -ggdb3, -gstabs3,
-gcoff3, -gxcoff3, -gvms3 implies -dD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121549 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index ad45886..e5287e2 100644 (file)
@@ -1,3 +1,9 @@
+2007-02-03  Tom Tromey  <tromey@redhat.com>
+
+       PR driver/30246
+       * gcc.c (cpp_unique_options): Any of -ggdb3, -gstabs3,
+       -gcoff3, -gxcoff3, -gvms3 implies -dD.
+
 2007-02-03  Kazu Hirata  <kazu@codesourcery.com>
 
        * c-decl.c, config/avr/avr.c, config/avr/avr.h,
index 8830a49..a7bb71e 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -776,7 +776,8 @@ static const char *cpp_unique_options =
  %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}}\
  %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*}\
  %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}}\
- %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i\
+ %{remap} %{g3|ggdb3|gstabs3|gcoff3|gxcoff3|gvms3:-dD}\
+ %{H} %C %{D*&U*&A*} %{i*} %Z %i\
  %{fmudflap:-D_MUDFLAP -include mf-runtime.h}\
  %{fmudflapth:-D_MUDFLAP -D_MUDFLAPTH -include mf-runtime.h}\
  %{E|M|MM:%W{o*}}";