From 7337c67fcd3ff3f5cc47c611462fdb948c3f6bfa Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Sun, 26 Oct 1997 18:21:28 +0000 Subject: [PATCH] * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions. From-SVN: r16183 --- gcc/ChangeLog | 2 ++ gcc/Makefile.in | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c27ecb19101..a9381af70b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -5,6 +5,8 @@ Sun Oct 26 10:06:11 1997 Toon Moene Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com) + * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions. + * alias.c (find_base_value): Handle PRE_INC, PRE_DEC, POST_INC, and POS_DEC. (find_base_term): Likewise. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index c9c31364174..737f4fa0b81 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -268,8 +268,11 @@ LIBGCC2 = libgcc2.a # -g1 causes output of debug info only for file-scope entities. # we use this here because that should be enough, and also # so that -g1 will be tested. +# +# -fexceptions is necessary for eh.o now that the exceptions are +# the default for g++ only. LIBGCC2_DEBUG_CFLAGS = -g1 -LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED @inhibit_libc@ +LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions @inhibit_libc@ # Additional options to use when compiling libgcc2.a. # Some targets override this to -Iinclude