https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305
--- Comment #14 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- (In reply to Gilles Gouaillardet from comment #13) > Thanks Richard for the quick fix. > > I am happy to confirm that the latest trunk passes the three reproducers > included in this ticket. > > However, the latest gcc-11 branch only passes the mini reproducer you posted > (and crashes with a similar stack trace with Andrew's reproducer and the one > I trimmed from GROMACS) Hmm, those also pass for me on the branch (after g:cd0a059bd384da58d43674496a79ecb7de610800). However, it's certainly possible that some of the other patterns have a similar bug. I'll try a few variations to see if I can reproduce.