https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106507
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu.org
--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
The code compiles if using named keyword values.
inst = type2(name="test", data=1)
In primary.cc where the error is triggered there is a comment:
/* Components without name are not allowed after the first named
component initializer! */
I suspect that we need to modify the logic to find the un-named component
before we hit this code. (On or about line 3462.