https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Derek Mauro from comment #0) > This is strange issue that started appearing in gcc 10.1. It also seems to > require -O3 and -std=gnu++11 (gnu++14 etc appear unaffected). I can't reproduce this with r12-5457-g06be28f64a0b5bfc. So someone should do a bisect to see when it was fixed. (In reply to Egor Suvorov from comment #4) > A possibly related example (also available at Godbolt: > https://godbolt.org/z/P65dx1 ) This example is fixed with r12-5465-g911b633803dcbb298 (double checked).