summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-29 17:27:28 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-29 17:27:28 +0000
commit61278b0117eeebb55feb5737797702a1125f0217 (patch)
tree67493da6271474e424fb1d21c68ee46e4795e548 /gcc/toplev.c
parent4051d71129e133ca84209d40d929f654e95754a8 (diff)
downloadgcc-61278b0117eeebb55feb5737797702a1125f0217.tar.gz
2000-06-29 Andrew Haley <aph@cygnus.com>
* toplev.c (main): On an IA-64, make flag_unwind_tables defauit to true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34784 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 87c80fcc4b5..d02f8406b38 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4542,6 +4542,12 @@ main (argc, argv)
target_flags = 0;
set_target_switch ("");
+ /* Unwind tables are always present in an ABI-conformant IA-64
+ object file, so the default should be ON. */
+#ifdef IA64_UNWIND_INFO
+ flag_unwind_tables = IA64_UNWIND_INFO;
+#endif
+
#ifdef OPTIMIZATION_OPTIONS
/* Allow default optimizations to be specified on a per-machine basis. */
OPTIMIZATION_OPTIONS (optimize, optimize_size);