https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109471
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > I suppose both cases could be optimized the same, but we only do limited "IR > interpretation" and only as side-effect of optimizing scalarized code, not > simulated execution traces. > > Needs some more investigation. > > Can you please attach the source code? The code seems available in the godbolt link but it uses std::array, not std::vector.