summaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-09 12:07:07 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-09 12:07:07 +0000
commit8c17eb1834afa067ce3b14bace70bc6d36f39ef7 (patch)
tree38f9dea25ee1c19c2ff5dee5f5c1d1a0468a47f2 /gcc/cp/lang-specs.h
parent4ee33f0ac76a49203e60c5b1e912ee03b03cfb09 (diff)
downloadgcc-8c17eb1834afa067ce3b14bace70bc6d36f39ef7.tar.gz
* lang-specs.h: Restore definition of __EXCEPTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39564 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index cfcac347487..cc0d996802f 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -33,6 +33,7 @@ Boston, MA 02111-1307, USA. */
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-exceptions:-D__EXCEPTIONS}\
%{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
%{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\
%{!E:%{!M:%{!MM:\
@@ -51,6 +52,7 @@ Boston, MA 02111-1307, USA. */
%{!fsyntax-only:%(invoke_as)}}}}"
#else
"%{E|M|MM:cpp0 -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\
+ %{!fno-exceptions:-D__EXCEPTIONS}\
%{fnew-abi:-D__GXX_ABI_VERSION=100}\
%{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\
%{!E:%{!M:%{!MM:\