From: Richard Henderson Date: Thu, 7 Aug 2008 20:06:36 +0000 (-0700) Subject: re PR target/37033 (Revision 138733 breaks -g vs -g0 for PCH) X-Git-Tag: releases/gcc-4.4.0~3256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09828811dcd5e78b9d2f7a239aeef665007a6a8a;p=thirdparty%2Fgcc.git re PR target/37033 (Revision 138733 breaks -g vs -g0 for PCH) PR debug/37033 * gcc.c (cpp_options): Pass along -g*. From-SVN: r138850 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aeef7844547d..ff009ea3899c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-08-07 Richard Henderson + + PR debug/37033 + * gcc.c (cpp_options): Pass along -g*. + 2008-08-07 Joseph Myers * config/arm/arm.c (output_move_neon): Update comment describing diff --git a/gcc/gcc.c b/gcc/gcc.c index 7914e4b6f354..8c0aa820c586 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -819,7 +819,7 @@ static const char *cpp_unique_options = in turn cause preprocessor symbols to be defined specially. */ static const char *cpp_options = "%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w}\ - %{f*} %{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}} %{O*}\ + %{f*} %{g*:%{!g0:%{g*} %{!fno-working-directory:-fworking-directory}}} %{O*}\ %{undef} %{save-temps:-fpch-preprocess}"; /* This contains cpp options which are not passed when the preprocessor