[Bug c/99693] New: -O2 not move 'if' checks on const data outside the loops

rafal at bursig dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 21 12:07:14 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99693

            Bug ID: 99693
           Summary: -O2 not move 'if' checks on const data outside the
                    loops
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rafal at bursig dot org
  Target Milestone: ---

-g -o /tmp/compiler-explorer-compiler2021221-5538-b8yy15.yzw9n/output.s
-masm=intel -S -fdiagnostics-color=always -O2
/tmp/compiler-explorer-compiler2021221-5538-b8yy15.yzw9n/example.c


More information about the Gcc-bugs mailing list