https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78185
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.4.7, 7.0 Target Milestone|--- |5.5 Summary|Wrong branch optimization |[5/6 Regression] Wrong |with -O1 on x86/x86_64 |branch optimization with | |-O1 on x86/x86_64 Known to fail| |4.5.4, 4.6.4, 4.7.4, 4.8.5, | |4.9.4, 5.4.0, 6.2.0 --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed on trunk. Earlier releases need -O2 to trigger this. Can't reproduce with 4.4 or earlier.