blob: 836ab1f6601cc173f606b559f1c074db9e03d38a [file] [log] [blame]
/* PR debug/54519 */
/* { dg-do run } */
/* { dg-options "-g" } */
#include "../nop.h"
static inline void
f1 (int x, int y)
{
asm volatile (NOP); /* { dg-final { gdb-test 11 "x" "2" } } */
asm volatile (NOP); /* { dg-final { gdb-test 11 "y" "0" } } */
}
static inline void
f2 (int z)
{
f1 (z, 0);
f1 (z, 1);
}
int
main ()
{
f2 (2);
f2 (3);
return 0;
}