From 8a1dabd598347ac69dbf5dd4239a57150a8e7baf Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Wed, 30 Jun 2010 14:33:40 +0000 Subject: [PATCH] re PR other/44034 (target hooks are hard to maintain) PR other/44034 * config/darwin.c (darwin_override_options): Use renamed targetm.asm_out.emit_unwind_label. From-SVN: r161606 --- gcc/ChangeLog | 6 ++++++ gcc/config/darwin.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ee0756b6f9..7e61a630fc3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-06-30 Iain Sandoe + + PR other/44034 + * config/darwin.c (darwin_override_options): Use renamed + targetm.asm_out.emit_unwind_label. + 2010-06-30 Bernd Schmidt PR tree-optimization/39799 diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 1adff12ea73..5801e431dfd 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -1864,7 +1864,7 @@ darwin_override_options (void) /* Disable -freorder-blocks-and-partition for darwin_emit_unwind_label. */ if (flag_reorder_blocks_and_partition - && (targetm.asm_out.unwind_label == darwin_emit_unwind_label)) + && (targetm.asm_out.emit_unwind_label == darwin_emit_unwind_label)) { inform (input_location, "-freorder-blocks-and-partition does not work with exceptions " -- 2.30.2