We ICE there with the following testcase compiled with -g -O:

void stpi_unpack_16_1(int length,    const unsigned char *in,    unsigned char
*out0,    unsigned char *out1,    unsigned char *out2,    unsigned char *out3, 
  unsigned char *out4,    unsigned char *out5,    unsigned char *out6,   
unsigned char *out7,    unsigned char *out8,    unsigned char *out9,   
unsigned char *out10,    unsigned char *out11,    unsigned char *out12,   
unsigned char *out13,    unsigned char *out14,    unsigned char *out15)
{
  unsigned char tempin, bit;
  unsigned char temp[16];
  for (bit = 128; length > 0; length--) {
    if (tempin & 128)
      temp[0] |= bit;
    else  
      {
        *out1++ = temp[1];
        *out2++ = temp[2];
        *out3++ = temp[3];
        *out4++ = temp[4];
        *out5++ = temp[5];
        *out6++ = temp[6];
        *out7++ = temp[7];
        *out9++ = temp[9];
        *out10++ = temp[10];
        *out11++ = temp[11];
        *out12++ = temp[12];
        *out13++ = temp[13];
        *out14++ = temp[14];
        *out15++ = temp[15];
        __builtin_memset (temp, 0, 16);
     }
  }
}


-- 
           Summary: ICE in set_variable_part, at var-tracking.c:2140
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: powerpc64-unknown-linux-gnu


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

Reply via email to