3 /* { dg-options "-g" } */
5 __attribute__((noinline
)) void
6 foo (int k
, int l
, int m
, int n
)
13 k
++; /* { dg-final { gdb-test 13 "i" "6" } } */
14 } /* { dg-final { gdb-test 13 "h" "9" } } */
15 /* { dg-final { gdb-test 13 "n" "9" } } */
18 m
++; /* { dg-final { gdb-test 18 "j" "8" } } */
19 } /* { dg-final { gdb-test 18 "h" "9" } } */
20 /* { dg-final { gdb-test 12 "n" "9" } } */
22 asm volatile ("" : : "r" (k
), "r" (l
));
23 asm volatile ("" : : "r" (m
), "r" (n
));
31 foo (q
, q
+ 1, q
+ 2, q
+ 3);