1 /* Check that floating point casts of integer operations don't ICE. */ 2 /* The first of these routines caused problems for a patch, that wasn't 3 otherwise caught by a full bootstrap, the regression test suite or 4 SPEC CPU2000. */ 5 6 double andop(unsigned int x)7andop (unsigned int x) 8 { 9 return x & 1; 10 } 11 12 double orop(unsigned int x)13orop (unsigned int x) 14 { 15 return x | 1; 16 } 17 18 double notop(unsigned int x)19notop (unsigned int x) 20 { 21 return ~x; 22 } 23