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

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at gcc dot gnu.org

--- Comment #6 from Matthias Klose <doko at gcc dot gnu.org> ---
seen as well on powerpc64le-linux-gnu

typedef int uint32_t;
int c, e, f, g, h;
short *d;
uint32_t fn1(uint32_t p1, uint32_t p2) {
  uint32_t a, b;
  a = p1 >> 3 & p2;
  b = p1 & 072;
  a |= a >> 5;
  a |= b >> 5;
  return a;
}

void fn2() {
  uint32_t *i;
  uint32_t j;
  while (c -= 4) {
    fn1(e, j);
    fn1(f, j) * fn1(g, j) * fn1(h, j);
    *d++ = fn1(*i++, j);
    *d++ = fn1(*i++, j);
  }
}

$ gcc -c -g -O3 pixman-fast-path.i
pixman-fast-path.i: In function 'fn2':
pixman-fast-path.i:13:6: internal compiler error: in compute_live_loop_exits,
at tree-ssa-loop-manip.c:229
 void fn2() {
      ^~~

0x1080260f compute_live_loop_exits
        ../../src/gcc/tree-ssa-loop-manip.c:229
0x1080260f add_exit_phis_var
        ../../src/gcc/tree-ssa-loop-manip.c:316
0x1080260f add_exit_phis
        ../../src/gcc/tree-ssa-loop-manip.c:338
0x1080260f rewrite_into_loop_closed_ssa_1(bitmap_head*, unsigned int, int,
loop*)
        ../../src/gcc/tree-ssa-loop-manip.c:654
0x109002eb vectorize_loops()
        ../../src/gcc/tree-vectorizer.c:634
0x108167eb execute
        ../../src/gcc/tree-ssa-loop.c:420
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.

Reply via email to