------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  
2005-04-15 10:21 -------
// smaller testcase, compile with -O2 -fPIC

struct vs {
  int h, w, k, q;
  short int dct_recon[8];
};

void bar (struct vs* v)
{
  char *s;
  short int *b;
  int x, y, z, r, i, j;

  for (i = 0; i < 6; i++)
    if (v->q)
      {
        if (i)
          {
            if (v->k > v->h)
              j = 1;
      
            if (v->k > v->w)
              j += 1;
          }

        if (j)
          {
            *s++ = 0;
            if (!z)
              {
                for (r = 0; r < 8; r++)
                  {
                    b = &(v->dct_recon[r]);
                    s[0] += b[0];
                    s[1] += b[1];
                    s[2] += b[2];
                    s[3] += b[3];
                    s[4] += b[4];
                    s[5] += b[5];
                    s[6] += b[6];
                    s[7] += b[7];
                  }
              }
          }
      }
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-15 10:21:04
               date|                            |
            Summary|ICE: output_operand: Cannot |[4.0 Regression] ICE:
                   |decompose address           |output_operand: Cannot
                   |                            |decompose address
   Target Milestone|---                         |4.0.1


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

Reply via email to