forced-exception tests fail on SJLJ

Richard Earnshaw rearnsha@arm.com
Wed Apr 2 16:29:00 GMT 2003


Richard,

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.

2003-04-01  Richard Henderson  <rth@redhat.com>

        * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
        notes for nothrow calls if flag_forced_unwind_exceptions.
        (build_post_landing_pads): Mind flag_forced_unwind_exceptions.
        (sjlj_find_directly_reachable_regions): Likewise.
        (reachable_handlers): Likewise.
        (can_throw_external): Likewise.
        (collect_one_action_chain): Record cleanups after catch-all and
        must-not-throw if flag_forced_unwind_exceptions.
        * flags.h (flag_forced_unwind_exceptions): Declare.
        * toplev.c (flag_forced_unwind_exceptions): New.
        (lang_independent_options): Add it.
        * doc/invoke.text: Add it.

R.





More information about the Gcc-patches mailing list