summaryrefslogtreecommitdiffstats
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-19 15:12:33 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-19 15:12:33 +0000
commit06382f6179dfdb3ec544fc5a13d7adc2f3c759d2 (patch)
treea9789534eb58f67c343012adcc54c69ac3f67661 /gcc/cp/lang-specs.h
parent3545204e8db03ec8723ef72a0e443ab746ff883e (diff)
downloadppe42-gcc-06382f6179dfdb3ec544fc5a13d7adc2f3c759d2.tar.gz
ppe42-gcc-06382f6179dfdb3ec544fc5a13d7adc2f3c759d2.zip
* decl2.c (arg_assoc_class): Fix double iteration logic.
* init.c (build_delete): Always call convert_force to strip cv-quals. * decl2.c (flag_new_abi): Depend on ENABLE_NEW_GXX_ABI. * lang-specs.h: Default ABI depends on ENABLE_NEW_GXX_ABI. * g++spec.c: Don't look at ENABLE_NEW_GXX_ABI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39133 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index 716a93bd6dc..210255e3e8b 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -31,6 +31,25 @@ Boston, MA 02111-1307, USA. */
{"@c++",
/* cc1plus has an integrated ISO C preprocessor. We should invoke
the external preprocessor if -save-temps is given. */
+#if ENABLE_NEW_GXX_ABI
+ "%{E|M|MM:cpp0 -lang-c++ -D_GNU_SOURCE %{!no-gcc:-D__GNUG__=%v1}\
+ %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
+ %{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\
+ %{!E:%{!M:%{!MM:\
+ %{save-temps:cpp0 -lang-c++ -D_GNU_SOURCE \
+ %{!no-gcc:-D__GNUG__=%v1}\
+ %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
+ %{ansi:-D__STRICT_ANSI__ -trigraphs -$}\
+ %(cpp_options) %b.ii \n}\
+ cc1plus %{save-temps:-fpreprocessed %b.ii}\
+ %{!save-temps:%(cpp_options)\
+ %{!no-gcc:-D__GNUG__=%v1} -D_GNU_SOURCE \
+ %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
+ %{ansi:-D__STRICT_ANSI__}}\
+ %{ansi:-trigraphs -$}\
+ %(cc1_options) %2 %{+e1*}\
+ %{!fsyntax-only:%(invoke_as)}}}}"
+#else
"%{E|M|MM:cpp0 -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\
%{fnew-abi:-D__GXX_ABI_VERSION=100}\
%{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\
@@ -47,7 +66,9 @@ Boston, MA 02111-1307, USA. */
%{ansi:-D__STRICT_ANSI__}}\
%{ansi:-trigraphs -$}\
%(cc1_options) %2 %{+e*}\
- %{!fsyntax-only:%(invoke_as)}}}}"},
+ %{!fsyntax-only:%(invoke_as)}}}}"
+#endif
+ },
{".ii", "@c++-cpp-output"},
{"@c++-cpp-output",
"%{!M:%{!MM:%{!E:\
OpenPOWER on IntegriCloud