gcc/testsuite/gcc.target/s390/pr70674.c
raw| 1 | /* Test case for PR/70674. */ |
| 2 | |
| 3 | /* { dg-do compile { target s390x-*-* } } */ |
| 4 | /* { dg-options "-march=z10 -mtune=z196 -O2 -fno-omit-frame-pointer -fno-asynchronous-unwind-tables" } */ |
| 5 | |
| 6 | void |
| 7 | foo (void) |
| 8 | { |
| 9 | volatile int a = 5; |
| 10 | (void) a; |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler-not "^.*lgdr.*\n.*\\(%r11\\)" } } */ |