summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-18 21:10:32 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-18 21:10:32 +0000
commit73eac312a5b993d7628da03461c79c4452be729d (patch)
tree3d75f9c5827cef9704b4bbc12cbda4145c21754a /gcc/toplev.c
parent2f373e5d7060522f0a25cfc15632fa9a4303f961 (diff)
downloadgcc-73eac312a5b993d7628da03461c79c4452be729d.tar.gz
* tree.c (restore_tree_status): Also free up temporary storage
when we finish a toplevel function. (dump_tree_statistics): Print stats for backend obstacks. * libgcc2.c (__throw): Don't copy the return address. * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address. * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized). * toplev.c (main): Initialize exceptions_via_longjmp. * tree.c: Add extra_inline_obstacks. (save_tree_status): Use it. (restore_tree_status): If this is a toplevel inline obstack and we didn't want to save anything on it, recycle it. (print_inline_obstack_statistics): New fn. * function.c (pop_function_context_from): Pass context to restore_tree_status. * obstack.h (obstack_empty_p): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 225964b6f0f..41e2c5b87f0 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4294,6 +4294,15 @@ main (argc, argv, envp)
OVERRIDE_OPTIONS;
#endif
+ if (exceptions_via_longjmp == 2)
+ {
+#ifdef DWARF2_UNWIND_INFO
+ exceptions_via_longjmp = ! DWARF2_UNWIND_INFO;
+#else
+ exceptions_via_longjmp = 1;
+#endif
+ }
+
if (profile_block_flag == 3)
{
warning ("`-ax' and `-a' are conflicting options. `-a' ignored.");