2010/8/27 <jeremie.salvu...@free.fr>: > We recompiled GCC-trunk r162692 with the following modification : > > In function output_type_enum of gcc/gengtype.c, we replaced > > - if (s->kind == TYPE_PARAM_STRUCT && s->u.s.line.file != NULL) > + if (s->kind == TYPE_PARAM_STRUCT && s->u.param_struct.line.file != NULL) > > And Gengtype works like before with c,c++, lto enabled. > > Do you think we have to submit a one line patch (if yes, could it be reviewed > quickly)? We don't know why the old version works, and we think writing > u.s.line.file is incorrect for TYPE_PARAM_STRUCT (even if it happens to work > by luck), since the union u.param_struct member is the only valid for > TYPE_PARAM_STRUCT.
One-line patches are welcome, but in this instance could you please find out how the old code worked before changing it (as you admit, you don't understand it). -- Laurynas