This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with ASM_PREFERRED_EH_DATA_FORMAT


On Sat, Jul 07, 2001 at 12:29:49AM +0200, Marc Espie wrote:
> How do I configure gcc to compile correctly ? since it's now using non-sjlj
> exceptions by default.

It's a bug in except.h that we weren't minding the 

#define DWARF2_UNWIND_INFO 0

in config/i386/openbsd.h.  I'll apply this to 3.0.1 as well.

That said, I can't urge you strongly enough to upgrade from
the incredibly ancient (and broken) assembler currently in use.



r~


	* except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
	DWARF2_UNWIND_INFO not just whether it's defined.

Index: except.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.h,v
retrieving revision 1.54
diff -u -p -r1.54 except.h
--- except.h	2001/06/08 22:57:22	1.54
+++ except.h	2001/07/06 23:03:09
@@ -180,7 +180,7 @@ extern tree (*lang_eh_runtime_type) PARA
 
 #if ! (defined (EH_RETURN_DATA_REGNO)			\
        && (defined (IA64_UNWIND_INFO)			\
-	   || (defined (DWARF2_UNWIND_INFO)		\
+	   || (DWARF2_UNWIND_INFO			\
 	       && defined (EH_RETURN_STACKADJ_RTX)	\
 	       && (defined (EH_RETURN_HANDLER_RTX)	\
 		   || defined (HAVE_eh_return)))))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]