Message ID | 201209071611.q87GB48n013212@glazunov.sibelius.xs4all.nl |
---|---|
State | New |
Headers | show |
OK, thanks. Jason
> Date: Fri, 07 Sep 2012 14:12:29 -0400 > From: Jason Merrill <jason@redhat.com> > > OK, thanks. I don't have commit access (or at least I'm not on the write after approval list). Would you (or somebody else) be so kind to commit this fix for me? Thanks, Mark
On Sat, 8 Sep 2012, Mark Kettenis wrote: > I don't have commit access (or at least I'm not on the write after > approval list). Would you (or somebody else) be so kind to commit > this fix for me? I'll take care of it. Gerald
Index: decl.c =================================================================== --- decl.c (revision 191075) +++ decl.c (working copy) @@ -5131,7 +5131,7 @@ if (field_init == error_mark_node) return error_mark_node; - if (d->cur->index && d->cur == old_cur) + if (d->cur == old_cur && d->cur->index) { /* This can happen with an invalid initializer for a flexible array member (c++/54441). */