[Bug target/41473] [4.5 Regression] dsymutil "Assertion failed ..."
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Mon Nov 23 14:26:00 GMT 2009
------- Comment #31 from rguenther at suse dot de 2009-11-23 14:26 -------
Subject: Re: [4.5 Regression] dsymutil "Assertion failed
..."
On Mon, 23 Nov 2009, howarth at nitro dot med dot uc dot edu wrote:
> ------- 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.
Well, I don't think outputting zero-length location sequences makes
sense at all.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473
More information about the Gcc-bugs
mailing list