Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / guality / pr41353-2.c
blob0983bf4ab59453ca7de20834bf01ae7ee5490f48
1 /* PR debug/41353 */
2 /* { dg-do run } */
3 /* { dg-options "-g" } */
5 int varh;
6 int vari __attribute__((used)) = 17, varj;
8 __attribute__((noinline)) int
9 f1 (void)
11 int vari1 = 2 * vari; /* { dg-final { gdb-test 13 "vari1" "2 * 17" } } */
12 int vari2 = 3 * vari; /* { dg-final { gdb-test 13 "vari2" "3 * 17" } } */
13 return varj;
16 int (*volatile fnp1) (void) = f1;
18 int
19 main (int argc, char *argv[])
21 asm volatile ("" : : "r" (&fnp1) : "memory");
22 fnp1 ();
23 return 0;