[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364591: ICE: tree check: expected class 'constant', have 'binary' (bit_and_expr) in convert_and_check, at c-common.c:1083



tag 364591 + upstream
forwarded 364591 http://gcc.gnu.org/PR27281
thanks

test case is attached.

-- 
Martin Michlmayr
http://www.cyrius.com/
struct leaf
{
  unsigned short flags;
};
extern short TrPnt[];
extern signed char ChkFlag[], CptrFlag[], TesujiFlag[];
search (short side, short ply, short depth, short alpha, short beta,
        unsigned short *bstline, short *rpt)
{
  short j, pnt;
  short xside, pbst, score, rcnt, in_check, blockable;
  struct leaf *node, tmp;
  short best = -(12000 + 3000);
  for (pnt = pbst = TrPnt[ply];
       (pnt < TrPnt[ply + 1]) && (best <= beta); pnt++)
    {
        {
          CptrFlag[ply] = (node->flags & 0x0200);
        }
    }
}


Reply to: