On Tue, Sep 14, 2010 at 9:17 PM, Laurynas Biveinis
<laurynas.bivei...@gmail.com> wrote:
> I have reproduced it and the patch below fixes the issue, sorry for
> breaking things. Dennis, could you see if it works for you?
>
> When gcc-core tarball is used without other frontends, gengtype does
> not get to see that lang_type is in fact variable_size and when the
> frontends are present, their variable_size annotations mask the fact
> that c-lang.h does not have it. This is something that really should
> be diagnosed by gengtype.
>
> I will apply it to trunk later as obvious.

Well, I have tested and verified that patch works well,
gcc-core-4.6-20100911 compiled well on my Ubuntu and Gentoo with my
default simplified configuration setting;

Tested-by: "Dennis, CHENG Renquan" <crq...@fedoraproject.org>

>
> gcc/ChangeLog:
>
> 2010-09-14  Laurynas Biveinis  <laurynas.bivei...@gmail.com>
>
>        * c-lang.h (struct lang_type): Add variable_size GTY option.
>
> gcc/lto/ChangeLog:
>
> 2010-09-14  Laurynas Biveinis  <laurynas.bivei...@gmail.com>
>
>        * lto-tree.h (struct lang_type): Add variable_size GTY option.

Reply via email to