* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20040916-1.c
blob1a6a9f47fe8f2d1418dc25cf639ccbe7888a087a
1 /* PR tree-optimization/17512
3 We used to try to fold "(char) (X ^ Y)", where '^' is
4 TRUTH_XOR_EXPR into ((char) X ^ (char) Y), creating TRUTH_XOR_EXPR
5 with its operands being of type char, which is invalid. */
7 char
8 foo (int p)
10 int q = p;
11 return (p != 0) == (p == q);