Fortran: Fix regression caused by r14-10477 [PR59104]
[official-gcc.git] / gcc / testsuite / gcc.dg / guality / pr43593.c
blob131e608d3fe9ae0bac37325dcfc7c02e7a4ebff7
1 /* PR debug/43593 */
2 /* { dg-do run } */
3 /* { dg-options "-g" } */
5 void __attribute__((noinline))
6 bar (int *p)
8 asm volatile ("" : : "r" (p) : "memory");
11 int __attribute__((noinline))
12 foo (void)
14 int i, *j = &i;
15 bar (j);
16 return 6 + i; /* { dg-final { gdb-test . "j" "&i" } } */
19 int
20 main (void)
22 foo ();
23 return 0;