https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122572

--- Comment #13 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #10)
> (In reply to Sam James from comment #2)
> > Ah, works with 14 + -fno-schedule-insns unfortunately.
> 
> That is because GCC 14 didn't implement the C23 struct tagging rules.
> So I am 99% sure a bisect with -std=c23 will point to the commit that
> adds/touches the struct tagging rules part of the front-end.

This is a good call - there are indeed 2 identical structures. If I comment out
the unused optStruct2 or add an extra member, it's all fine.

Reply via email to