https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115869
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Wrong constant evaluation |[13/14/15 Regression] Wrong |with vector of struct |constant evaluation with | |vector of struct Known to fail| |13.3.0, 14.1.0, 15.0 Known to work| |12.1.0, 12.4.0 CC| |xry111 at gcc dot gnu.org Last reconfirmed| |2024-07-11 Ever confirmed|0 |1 --- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- I don't think there is an aliasing rule violation. I'm confirming the issue but there may be a duplicate (I admit I didn't try very hard to find one).