diff options
author | Richard Henderson <rth@redhat.com> | 2008-08-07 13:06:36 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2008-08-07 13:06:36 -0700 |
commit | 09828811dcd5e78b9d2f7a239aeef665007a6a8a (patch) | |
tree | 7bb71bc6479c5ee6bcf2bded09217a56a49f74b8 | |
parent | 98b453092af6c698369040d0505bbb8bac002099 (diff) | |
download | gcc-09828811dcd5e78b9d2f7a239aeef665007a6a8a.zip gcc-09828811dcd5e78b9d2f7a239aeef665007a6a8a.tar.gz gcc-09828811dcd5e78b9d2f7a239aeef665007a6a8a.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aeef784..ff009ea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -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 |