diff options
author | Phil Edwards <pme@gcc.gnu.org> | 2002-03-26 21:38:40 +0000 |
---|---|---|
committer | Phil Edwards <pme@gcc.gnu.org> | 2002-03-26 21:38:40 +0000 |
commit | 1de38a8829a2a0151b16c84b88ca29cc520fac61 (patch) | |
tree | 7283a7061f177aa01f0dd489d97a91fee034cc5e /gcc/gcc.c | |
parent | d7e60e95f87835d0dd704e05ac38520aa333e61f (diff) | |
download | gcc-1de38a8829a2a0151b16c84b88ca29cc520fac61.zip gcc-1de38a8829a2a0151b16c84b88ca29cc520fac61.tar.gz gcc-1de38a8829a2a0151b16c84b88ca29cc520fac61.tar.bz2 |
gcc.c (cpp_options): Preserve relative ordering of -pedantic and warning switches.
2002-03-26 Phil Edwards <pme@gcc.gnu.org>
* gcc.c (cpp_options): Preserve relative ordering of -pedantic
and warning switches.
(cc1_options): Likewise.
From-SVN: r51408
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -681,7 +681,7 @@ static const char *cpp_unique_options = /* This contains cpp options which are common with cc1_options and are passed only when preprocessing only to avoid duplication. */ static const char *cpp_options = -"%(cpp_unique_options) %{std*} %{d*} %{W*} %{w} %{pedantic*}\ +"%(cpp_unique_options) %{std*} %{d*} %{W*&pedantic*} %{w}\ %{fshow-column} %{fno-show-column}\ %{fsigned-char&funsigned-char}\ %{fleading-underscore} %{fno-leading-underscore}\ @@ -691,7 +691,7 @@ static const char *cpp_options = static const char *cc1_options = "%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\ %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\ - %{g*} %{O*} %{W*} %{w} %{pedantic*} %{std*} %{ansi}\ + %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi}\ %{v:-version} %{pg:-p} %{p} %{f*}\ %{Qn:-fno-ident} %{--help:--help}\ %{--target-help:--target-help}\ |