]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/37033 (Revision 138733 breaks -g vs -g0 for PCH)
authorRichard Henderson <rth@redhat.com>
Thu, 7 Aug 2008 20:06:36 +0000 (13:06 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 7 Aug 2008 20:06:36 +0000 (13:06 -0700)
        PR debug/37033
        * gcc.c (cpp_options): Pass along -g*.

From-SVN: r138850

gcc/ChangeLog
gcc/gcc.c

index aeef7844547d3edd97d615d12e4a2667dd82e473..ff009ea3899cfae4dec4a8bd90c2127965680082 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-07  Richard Henderson  <rth@redhat.com>
+
+       PR debug/37033
+       * gcc.c (cpp_options): Pass along -g*.
+
 2008-08-07  Joseph Myers  <joseph@codesourcery.com>
 
        * config/arm/arm.c (output_move_neon): Update comment describing
index 7914e4b6f35494ca7e2b4cbffe5a4e2da202632c..8c0aa820c586245a6a6a77ac1fc2e16dab3a575f 100644 (file)
--- 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