summaryrefslogtreecommitdiff
path: root/gcc/config/darwin10.h
diff options
context:
space:
mode:
authorJack Howarth <howarth@bromo.med.uc.edu>2009-10-21 15:07:59 +0000
committerPeter O'Gorman <pogma@gcc.gnu.org>2009-10-21 15:07:59 +0000
commit47f447b17d43726d2eef73592f80a25bcafa94e9 (patch)
tree458b28857685ed2fd4c0116eb04950cda554dd69 /gcc/config/darwin10.h
parentad0abd3c9040a5085d7833cb964e94ce2ec59069 (diff)
re PR c++/41313 (r150553 causes g++.dg/tree-prof/partition1.C compilation and execution test failures on *-apple-darwin*)
2009-10-21 Jack Howarth <howarth@bromo.med.uc.edu> PR c++/41313 * gcc/config/darwin10.h: Use default_emit_unwind_label. * gcc/config/darwin.c: Disable -freorder-blocks-and-partition when darwin_emit_unwind_label is used. From-SVN: r153057
Diffstat (limited to 'gcc/config/darwin10.h')
-rw-r--r--gcc/config/darwin10.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/darwin10.h b/gcc/config/darwin10.h
index 65ba2632a8f..b1edf36ce3d 100644
--- a/gcc/config/darwin10.h
+++ b/gcc/config/darwin10.h
@@ -23,3 +23,8 @@ unwinder in libSystem is fixed to digest new epilog unwinding notes. */
#undef LIB_SPEC
#define LIB_SPEC "%{!static:-no_compact_unwind -lSystem}"
+
+/* Unwind labels are no longer required in darwin10. */
+
+#undef TARGET_ASM_EMIT_UNWIND_LABEL
+#define TARGET_ASM_EMIT_UNWIND_LABEL default_emit_unwind_label