PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / h8300-ice2.c
blob216ea34c94c6e4309bc6b335f2cf0ec8093dc0f4
1 /* { dg-do compile } */
2 /* ICE for signed/unsigned long and signed char comparison */
3 int main()
5 unsigned long ul = 4;
6 long sl = 2;
7 signed char sch = -1;
8 if (ul <= sch);
9 return 0;
10 if (sl <= sch)
11 return 1;