This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/17606] [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-22 17:13 -------
Confirmed, here is the reduced testcase, any further the ICE goes away:
struct IntPair { int Y, X; };
struct FATyp {
  float *pic; int dx, dy, pitch;
  FATyp (float *Pic, int DY, int DX, int Pitch);
};

int Func1 (FATyp& Weight, double Scale);

int Func2 (FATyp& Weight, unsigned char Arr04, IntPair Mid);
int Func3 (FATyp& Data, unsigned short Pic, IntPair Mid);

int WrkDP (IntPair Pos, float ParA2, int DbgLvl)
{
  float Dat01a [31 * 32]; FATyp TplR (Dat01a, 0, 0, 32);
  float Dat01b [31 * 32]; FATyp TplG (Dat01b, 0, 0, 32);
  float Dat01c [31 * 32]; FATyp TplB (Dat01c, 0, 0, 32);
  float Dat01d [31 * 32]; FATyp TplW (Dat01d, 0, 0, 32);

  float Dat02a [47 * 48]; FATyp SrchR (Dat02a, 0, 0, 48);
  float Dat02b [47 * 48]; FATyp SrchG (Dat02b, 0, 0, 48);

  Func3 (TplR, 1, Pos);
  Func3 (TplG, 1, Pos);
  Func3 (TplB, 1, Pos);
  Func1 (TplW, 1.0);
  Func2 (TplW, 1, Pos);
  Func3 (SrchR, 1, Pos);
  Func3 (SrchG, 1, Pos);
  return 0;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|rtl-optimization            |target
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-22 17:13:22
               date|                            |
   Target Milestone|---                         |4.0.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]