diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4465b249fd..95b0f21c6db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-11-07 Neil Booth + + * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB. + 2000-11-07 Kaveh R. Ghazi * c-common.c (combine_strings): Only warn about long strings for C. diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 141655c58f4..99854a750ed 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -38,11 +38,12 @@ Boston, MA 02111-1307, USA. */ %{!E:%{!M:%{!MM:\ %{save-temps:cpp0 -lang-c++ %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ %(cpp_options) %b.ii \n}\ - cc1plus %{save-temps: -fpreprocessed %b.ii} -lang-c++\ + cc1plus %{save-temps:-fpreprocessed %b.ii}\ + %{!save-temps:%(cpp_options)} -lang-c++\ %{!no-gcc:-D__GNUG__=%v1}\ %{fnew-abi:-D__GXX_ABI_VERSION=100}\ %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ - %(cpp_options) %(cc1_options) %{+e*}\ + %(cc1_options) %{+e*}\ %{!fsyntax-only:%(invoke_as)}}}}" #else /* ! USE_CPPLIB */ "cpp0 -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\