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]
Other format: [Raw text]

Re: [PATCH/4.4 Regression] Fix PR target/38952 (SjLj EH failure on i386)


On Sun, Jan 25, 2009 at 5:47 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Sun, Jan 25, 2009 at 4:04 PM, Dave Korn
> <dave.korn.cygwin@googlemail.com> wrote:
>>    Hi all,
>>
>>  The attached patch fixes PR38952 for me, at least as far as my initial
>> testing (using pattern "old-deja.exp=eh*" in the G++ testsuite) shows, so I'm
>> now going for a full bootstrap and test on both Cygwin and Linux using both
>> SjLj and DW-2 EH.
>
> Here is the result on Linux/x86-64:
>
> http://gcc.gnu.org/ml/gcc-testresults/2009-01/msg02626.html
>
> Since --enable-sjlj-exceptions  isn't compatible on Linux, some
> unwind falures are expected.
>

Hi,

Here is a patch to disable unwind-[0-6].C tests when
__USING_SJLJ_EXCEPTIONS__ is defined since they
aren't compatible with SJLJ unwind.


-- 
H.J.
---
2009-01-26  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/38952
	* g++.dg/torture/stackalign/test-unwind.h (main): Also return 0
	if __USING_SJLJ_EXCEPTIONS__ is defined.

	* g++.dg/torture/stackalign/unwind-0.C (foo): Don't define if
	__USING_SJLJ_EXCEPTIONS__ is defined.
	* g++.dg/torture/stackalign/unwind-1.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-2.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-3.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-4.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-5.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-6.C (foo): Likewise.

Attachment: gcc-test-1.patch
Description: Text document


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