https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-02-11 CC| |jakub at gcc dot gnu.org Target Milestone|--- |8.4 Summary|GCC eliminates conditions |[8/9/10 Regression] GCC |it should not, when |eliminates conditions it |strict-enums is on |should not, when | |strict-enums is on Ever confirmed|0 |1 --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The infinite loop is there since r8-5095-gd49e06ce40a76c3f6e96bf2eccb59db19d4d2b1d and while r10-3676-g806bdf4e40d31cf55744c876eb9f17654de36b99 made it go away again, since r10-4704-gf0af4848ac40d2342743c9b16416310d61db85b5 the outer (rather than inner) loop is infinite.