------- Comment #30 from howarth at nitro dot med dot uc dot edu  2009-11-23 
14:22 -------
Perhaps something like...

Index: dwarf2out.c
===================================================================
--- dwarf2out.c (revision 154443)
+++ dwarf2out.c (working copy)
@@ -10447,8 +10447,11 @@

          /* Output the block length for this list of location operations.  */
          dw2_asm_output_data (constant_size (size), size, "%s", name);
-
-         output_loc_sequence (AT_loc (a));
+          
+          if (dwarf_strict && (size == 0))
+                break;
+          else
+               output_loc_sequence (AT_loc (a));
          break;

        case dw_val_class_const:

could fix this on darwin (untested) since we are the
only target defaulting to dwarf_strict.


-- 


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

Reply via email to