On Tue, Mar 07, 2017 at 09:55:19AM +0100, Richard Biener wrote:
> > --- gcc/dwarf2out.h.jj 2017-01-01 12:45:37.0 +0100
> > +++ gcc/dwarf2out.h 2017-03-06 12:13:48.809589411 +0100
> > @@ -163,7 +163,7 @@ enum dw_val_class
> > /* Describe a floating point constant value, or a vector con
On Mon, Mar 6, 2017 at 9:56 PM, Jakub Jelinek wrote:
> Hi!
>
> gengtype.c considers all GC arrays with char/unsigned char/signed char
> element type as strings, for which it computes size e.g. in gt_pch_note_object
> using:
> if (note_ptr_fn == gt_pch_p_S)
> (*slot)->size = strlen ((const ch
OK.
On Mon, Mar 6, 2017 at 3:56 PM, Jakub Jelinek wrote:
> Hi!
>
> gengtype.c considers all GC arrays with char/unsigned char/signed char
> element type as strings, for which it computes size e.g. in gt_pch_note_object
> using:
> if (note_ptr_fn == gt_pch_p_S)
> (*slot)->size = strlen ((con
Hi!
gengtype.c considers all GC arrays with char/unsigned char/signed char
element type as strings, for which it computes size e.g. in gt_pch_note_object
using:
if (note_ptr_fn == gt_pch_p_S)
(*slot)->size = strlen ((const char *)obj) + 1;
else
(*slot)->size = ggc_get_size (obj);
That