1 /* PR debug/43237 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-g -O2 -dA -fno-merge-debug-strings" } */ 4 5 struct S 6 { 7 int *a; 8 int b; 9 int **c; 10 int d; 11 }; 12 13 void foo (struct S *); 14 void bar (struct S *); 15 16 int baz(void)17baz (void) 18 { 19 struct S s; 20 foo (&s); 21 { 22 int a[s.b]; 23 int *c[s.d]; 24 s.a = a; 25 s.c = c; 26 bar (&s); 27 } 28 return 0; 29 } 30 31 /* { dg-final { scan-assembler-not "LLST\[^\\r\\n\]*DW_AT_upper_bound" } } */ 32