summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-02 07:08:16 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-02 07:08:16 +0000
commitb2b188b5ec7ec58052788e7c81cee835e589e56d (patch)
treef5fd434b155cb047fdfef9811d5e14bb52fc5de9 /gcc/flags.h
parent22797e9a1c752f79a2a072f43b8b06f739eb3457 (diff)
downloadgcc-b2b188b5ec7ec58052788e7c81cee835e589e56d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65158 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index aed3386f4c8..88ed465e010 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -476,6 +476,10 @@ extern int flag_unwind_tables;
extern int flag_asynchronous_unwind_tables;
+/* Nonzero means allow for forced unwinding. */
+
+extern int flag_forced_unwind_exceptions;
+
/* Nonzero means don't place uninitialized global data in common storage
by default. */