aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-03-27 21:24:24 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-03-27 21:24:24 -0800
commit531073e70e23f5faa6a88240b5cd73e4df3202d6 (patch)
treebb2aa76dca055c2e46eabf6e73ba0e455926a762 /gcc/toplev.c
parent979988f32cd329b479079a32a12445f53125108d (diff)
downloadgcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.zip
gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.tar.gz
gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.tar.bz2
Make -fsjlj-exceptions a configure option.
From-SVN: r40905
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 1263e21..068d793 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1081,8 +1081,6 @@ lang_independent_options f_options[] =
"Use the new model for exception handling" },
{"unwind-tables", &flag_unwind_tables, 1,
"Just generate unwind tables for exception handling" },
- {"sjlj-exceptions", &exceptions_via_longjmp, 1,
- "Use setjmp/longjmp to handle exceptions" },
{"non-call-exceptions", &flag_non_call_exceptions, 1,
"Support synchronous non-call exceptions" },
{"profile-arcs", &profile_arc_flag, 1,
@@ -4877,19 +4875,6 @@ toplev_main (argc, argv)
OVERRIDE_OPTIONS;
#endif
- if (exceptions_via_longjmp == 2)
- {
-#ifdef DWARF2_UNWIND_INFO
- exceptions_via_longjmp = ! DWARF2_UNWIND_INFO;
-#else
-#ifdef IA64_UNWIND_INFO
- exceptions_via_longjmp = ! IA64_UNWIND_INFO;
-#else
- exceptions_via_longjmp = 1;
-#endif
-#endif
- }
-
/* Since each function gets its own handler data, we can't support the
new model currently, since it depend on a specific rethrow label
which is declared at the front of the table, and we can only