------- Comment #11 from howarth at nitro dot med dot uc dot edu  2009-09-30 
22:36 -------
Mike,
     I am a fuzzy on the best way to avoid darwin_emit_unwind_label since it is
assigned to a define in darwin.h. The only thing that makes sense to me is...

Index: gcc/config/darwin.c
===================================================================
--- gcc/config/darwin.c (revision 152347)
+++ gcc/config/darwin.c (working copy)
@@ -1454,7 +1454,7 @@
 {
   char *lab;

-  if (! for_eh)
+  if ((! for_eh) || (darwin_macosx_version_min && strverscmp
(darwin_macosx_version_min, "10.6") >= 0))
     return;

   lab = concat (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)), ".eh", NULL);

Does that seem reasonable?


-- 


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

Reply via email to