------- Comment #29 from howarth at nitro dot med dot uc dot edu  2009-10-02 
22:09 -------
Jakub,
    Is there any reason why we can't have...

Index: opts.c
===================================================================
--- opts.c      (revision 152346)
+++ opts.c      (working copy)
@@ -1039,7 +1039,7 @@

   if (flag_exceptions && flag_reorder_blocks_and_partition
       && (USING_SJLJ_EXCEPTIONS
-#ifdef TARGET_UNWIND_INFO
+#if defined (TARGET_UNWIND_INFO) || defined (DWARF2_UNWIND_INFO)
          || 1
 #endif
         ))
@@ -1056,7 +1056,7 @@
   if (flag_unwind_tables && ! targetm.unwind_tables_default
       && flag_reorder_blocks_and_partition
       && (USING_SJLJ_EXCEPTIONS
-#ifdef TARGET_UNWIND_INFO
+#if defined (TARGET_UNWIND_INFO) || defined (DWARF2_UNWIND_INFO)
          || 1
 #endif
         ))
@@ -1075,7 +1075,7 @@
       && (!targetm.have_named_sections
          || (flag_unwind_tables && targetm.unwind_tables_default
              && (USING_SJLJ_EXCEPTIONS
-#ifdef TARGET_UNWIND_INFO
+#if defined (TARGET_UNWIND_INFO)  || defined (DWARF2_UNWIND_INFO)
                  || 1
 #endif
                 ))))

I suspect this should unbreak darwin.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41313

Reply via email to