* cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
authorNeil Booth <neilb@earthling.net>
Tue, 7 Nov 2000 21:35:20 +0000 (21:35 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 7 Nov 2000 21:35:20 +0000 (21:35 +0000)
From-SVN: r37299

gcc/ChangeLog
gcc/cp/lang-specs.h

index a4465b249fdb684f65d8eb2993022f64d19a5c8f..95b0f21c6db44633a45bfb7ff783b714148b9147 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-07  Neil Booth  <neilb@earthling.net>
+
+       * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
+
 2000-11-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * c-common.c (combine_strings): Only warn about long strings for C.
index 141655c58f4556aa56443db059ce1d7ef3a83ef4..99854a750eddf98b78461c7ef159b28ccf15b98c 100644 (file)
@@ -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}\