except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION notes for nothrow...
authorRichard Henderson <rth@redhat.com>
Wed, 2 Apr 2003 07:08:16 +0000 (23:08 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 2 Apr 2003 07:08:16 +0000 (23:08 -0800)
commit125ca8fde8648d4ec280387f09d96ff004d21766
treef5fd434b155cb047fdfef9811d5e14bb52fc5de9
parent5b64bfc45b6f8f12a5dfac32d708cae70a31432f
except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION notes for nothrow calls if flag_forced_unwind_exceptions.

        * 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.

        * g++.dg/eh/forced1.C: New.
        * g++.dg/eh/forced2.C: New.

From-SVN: r65158
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/except.c
gcc/flags.h
gcc/testsuite/g++.dg/eh/forced1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/eh/forced2.C [new file with mode: 0644]
gcc/toplev.c