This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Fix PR tree-optimization/21839
On Tue, 2005-05-31 at 14:47 -0400, Diego Novillo wrote:
> On Tue, May 31, 2005 at 02:42:42PM -0400, Daniel Berlin wrote:
> > * gimplify.c (zero_sized_field_decl): New function.
> > (gimplify_init_ctor_eval): Use it.
> Looks OK to me, but I'd like rth or jason to take a look too.
> This is too frontendy for me.
It was either
2. make the verifier ignore them,
3. lie to everything in site and pretend they were of size 1.
None of the other options seemed good :(