------- Comment #3 from ubizjak at gmail dot com  2007-12-09 16:42 -------
Confirmed, ICEs in vectorizer pass on x86_64-pc-linux-gnu. Reduced testcase:

--cut here--
extern int ReadBlobByte (void);

void ReadRLEImage (unsigned char *p)
{
  unsigned char background_color[256];
  long j;

  unsigned long number_planes = ReadBlobByte();

  for (j = 0; j < (long) number_planes; j++)
    *p++ = background_color[j];
}
--cut here--

gcc -O2 -ftree-vectorize t.c
t.c: In function ‘ReadRLEImage’:
t.c:4: error: incorrect sharing of tree nodes
prologue_after_cost_adjust.22_33 = (long unsigned int) D.1550_3;

(long unsigned int) D.1550_3;

t.c:4: internal compiler error: verify_stmts failed
Please submit a full bug report,
<...>


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
 GCC target triplet|                            |x86_64-pc-gnu-linux
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-09 16:42:34
               date|                            |


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

Reply via email to