re PR other/44034 (target hooks are hard to maintain)
authorIain Sandoe <iains@gcc.gnu.org>
Wed, 30 Jun 2010 14:33:40 +0000 (14:33 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 30 Jun 2010 14:33:40 +0000 (14:33 +0000)
PR other/44034
* config/darwin.c (darwin_override_options): Use renamed
targetm.asm_out.emit_unwind_label.

From-SVN: r161606

gcc/ChangeLog
gcc/config/darwin.c

index 4ee0756b6f913638758dd18d9ed38a31105fe096..7e61a630fc36d4b3ff6c384c7ddcab618bdd714c 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-30  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR other/44034
+       * config/darwin.c (darwin_override_options): Use renamed
+       targetm.asm_out.emit_unwind_label.
+
 2010-06-30  Bernd Schmidt  <bernds@codesourcery.com>
 
        PR tree-optimization/39799
index 1adff12ea73c269be9f54f308870a928619f7faf..5801e431dfde981928d5db82d2776b7c6e5eaca1 100644 (file)
@@ -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 "