* gcc/config/avr/avr.h: Set default options for C++ for avr.
authorTheodore A. Roth <troth@verinet.com>
Sat, 14 Sep 2002 08:03:16 +0000 (08:03 +0000)
committerDenis Chertykov <denisc@gcc.gnu.org>
Sat, 14 Sep 2002 08:03:16 +0000 (12:03 +0400)
From-SVN: r57134

gcc/ChangeLog
gcc/config/avr/avr.h

index 8b996d72dcbd8178240dd262680ce581e1efaab7..f967960e1191d92fa256661e13fd8acd46de9a46 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-10  Theodore A. Roth  <troth@verinet.com>
+
+       * gcc/config/avr/avr.h: Set default options for C++ for avr.
+
 2002-09-13  Richard Henderson  <rth@redhat.com>
 
        * Makefile.in (toplev.o): Depend on real.h.
index cf62b8b71d275036fe0f442334899e97aafc50ac..308f216ab4127f14a8e2895a690e6e8c4c83bd0f 100644 (file)
@@ -2523,6 +2523,12 @@ extern int avr_case_values_threshold;
 
    Do not define this macro if it does not need to do anything.  */
 
+#define CC1PLUS_SPEC "%{!frtti:-fno-rtti} \
+    %{!fenforce-eh-specs:-fno-enforce-eh-specs} \
+    %{!fexceptions:-fno-exceptions}"
+/* A C string constant that tells the GNU CC drvier program options to
+   pass to `cc1plus'.  */
+
 #define ASM_SPEC "%{mmcu=*:-mmcu=%*}"
 /* A C string constant that tells the GNU CC driver program options to
    pass to the assembler.  It can also specify how to translate