aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/s390/pr70674.c
blob: 13bf271d95ffac6588bf4f9b11263a801fc1d5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test case for PR/70674.  */

/* { dg-do compile { target s390x-*-* } } */
/* { dg-options "-march=z10 -mtune=z196 -O2 -fno-omit-frame-pointer -fno-asynchronous-unwind-tables" } */

void
foo (void)
{
  volatile int a = 5;
  (void) a;
}

/* { dg-final { scan-assembler-not "^.*lgdr.*\n.*\\(%r11\\)" } } */