gcc/testsuite/gcc.target/riscv/ventana-16122.c
raw| 1 | /* { dg-do compile { target { rv64 } } } */ |
| 2 | |
| 3 | extern void NG (void); |
| 4 | typedef signed char int8_t; |
| 5 | typedef signed short int16_t; |
| 6 | typedef signed int int32_t; |
| 7 | void f74(void) { |
| 8 | int16_t x309 = 0x7fff; |
| 9 | volatile int32_t x310 = 0x7fffffff; |
| 10 | int8_t x311 = 59; |
| 11 | int16_t x312 = -0x8000; |
| 12 | static volatile int32_t t74 = 614992577; |
| 13 | |
| 14 | t74 = (x309==((x310^x311)%x312)); |
| 15 | |
| 16 | if (t74 != 0) { NG(); } else { ; } |
| 17 | |
| 18 | } |
| 19 |