This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69658] [6 Regression] Bogus "C99 designator outside aggregate initializer" error
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Feb 2016 17:27:08 +0000
- Subject: [Bug c++/69658] [6 Regression] Bogus "C99 designator outside aggregate initializer" error
- Auto-submitted: auto-generated
- References: <bug-69658-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69658
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Hi Jakub and thanks. I'm looking at your patchlet and putting it together my
notes at the time, and IMO it makes a lot of sense: I even remember briefly
wondering if calling reshape_init redundantly could be an issue :( Anyway, your
patch passes all my regression tests so far. Are you going to send it to the
mailing list? Ay this time I would only recommend adding a short comment before
the new conditional explaining exactly what you explained here, that is that in
the other cases reshape_init has been called already and where.