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

            Bug ID: 94211
           Summary: [9/10 Regression] -fcompare-debug failure on
                    phi-opt-13.c
           Product: gcc
           Version: 9.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zhroma at gcc dot gnu.org
  Target Milestone: ---

This command:
gcc -c -O2 -fcompare-debug gcc/testsuite/gcc.dg/tree-ssa/phi-opt-13.c

fails on todays master (r10-7237) on ppc64le, fails on 9.3 on x86_64, but not
in 7.4.  Haven't checked version 8.x.

long f(long a, long b) {
  if (__builtin_expect(b == 1, 1)) return a;
  return a / b;
}

Tree .phiopt2 is the first dump which seems buggy.

Reply via email to