forced-exception tests fail on SJLJ
Richard Earnshaw
rearnsha@arm.com
Thu Apr 3 13:45:00 GMT 2003
> On Wed, Apr 02, 2003 at 05:27:55PM +0100, Richard Earnshaw wrote:
> > g++.dg/eh/forced{1,2}.C are failing on arm-elf with a seg-fault because we
> > are trying to insert an insn before the post_landing_pad, but that is
> > still NULL for some reason.
>
> This fixes the compile-time segfault. I don't see anything
> glaringly wrong with the output.
>
> r~
>
> * except.c (sjlj_find_directly_reachable_regions): Recognize when
> must-not-throw region has been deleted.
Getting closer. Now it fails with:
/tmp/ccGqBsBb.o(.text+0xa8): In function `force_unwind()':
: undefined reference to `_Unwind_ForcedUnwind'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/tmp/ccGqBsBb.o(.text+0xa8): In function `force_unwind()':
: undefined reference to `_Unwind_ForcedUnwind'
collect2: ld returned 1 exit status
FAIL: g++.dg/eh/forced1.C (test for excess errors)
R.
More information about the Gcc-patches
mailing list