1 /* PR debug/54519 */
2 /* { dg-do run } */
3 /* { dg-options "-g" } */
4
5 #include "../nop.h"
6
7 static inline void
8 f1 (int x, int y)
9 {
10 asm volatile (NOP); /* { dg-final { gdb-test .+1 "x" "2" { xfail { aarch64*-*-* && { any-opts "-Os" } } } } } */
11 asm volatile (NOP); /* { dg-final { gdb-test . "y" "0" } } */
12 }
13
14 static inline void
15 f2 (int z)
16 {
17 f1 (z, 0);
18 f1 (z, 1);
19 }
20
21 int
22 main ()
23 {
24 f2 (2);
25 f2 (3);
26 return 0;
27 }