(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
debug/
ctf/
ctf-struct-array-2.c
       1  /* CTF generation for struct type in presence of DWARF2.
       2  
       3     In case of DWARF2, the data member location is an expression containing
       4     the location.  CTF generation feeds off DWARF dies; this testcase tests
       5     that the location expr is handled.  */
       6  
       7  /* { dg-do compile )  */
       8  /* { dg-options "-O0 -gctf -dA -gdwarf-2" } */
       9  
      10  /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 1 } } */
      11  /* { dg-final { scan-assembler-times "\[\t \]0x4\[\t \]+\[^\n\]*cta_nelems" 1 } } */
      12  /* { dg-final { scan-assembler-times "\[\t \]0\[\t \]+\[^\n\]*ctm_offset" 1 } } */
      13  /* { dg-final { scan-assembler-times "\[\t \]0x20\[\t \]+\[^\n\]*ctm_offset" 1 } } */
      14  
      15  static struct ranges {int from, to;} lim_regs[] = {{ 16, 7}, { 16, 6}, { 20, 7},{ 20, 6}};