http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58010

            Bug ID: 58010
           Summary: ICE in vect_create_epilog_for_reduction, at
                    tree-vect-loop.c:4378
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoine.balestrat at gmail dot com

Hello !
Using GCC 4.9.0 as of 20130728 :

$ cat vect.c
short a, b, c, d;

void f(void)
{
    short e;

    for(; e; e++)
        for(; b; b++);

    for(d = 0; d < 4; d++)
        a ^= (e ^= 1) || c ? : e;
}

$ xgcc -O2 -funswitch-loops -ftree-vectorize vect.c
vect.c: In function ‘f’:
vect.c:3:6: internal compiler error: in vect_create_epilog_for_reduction, at
tree-vect-loop.c:4378
 void f(void)
      ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to