FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20020415-1.c
blob95cdc1eafeb5afa0926365eb4aeee874be8f0062
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. */
6 double
7 andop (unsigned int x)
9 return x & 1;
12 double
13 orop (unsigned int x)
15 return x | 1;
18 double
19 notop (unsigned int x)
21 return ~x;