On vect256 branch, revision 159384 gave

[...@gnu-18 gcc]$ cat /tmp/x.c
void
foo (char * dest, int xcount, int ycount)
{
  int x, y;
  for (y = 0; y < ycount; y++)
    for (x = 0; x < xcount; x++)
      dest[x + y*2] = 0;
}
[...@gnu-18 gcc]$ ./xgcc -B./ -O2 -ftree-vectorize -O2 -mavx -S /tmp/x.c
/tmp/x.c: In function ‘foo’:
/tmp/x.c:2:1: internal compiler error: tree check: expected tree that contains
‘decl common’ structure, have ‘indirect_ref’ in vect_create_data_ref_ptr, at
tree-vect-data-refs.c:2574
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[...@gnu-18 gcc]$


-- 
           Summary: [vect256] ICE at at tree-vect-data-refs.c:2574
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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

Reply via email to