view gcc/testsuite/gcc.dg/debug/dwarf2/pr49871.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR debug/49871 */
/* { dg-do compile } */
/* { dg-require-effective-target int32plus } */
/* { dg-options "-gdwarf-3 -dA -fno-merge-debug-strings" } */

struct S
{
  char a[1 << 16];
  int b;
} s;

/* { dg-final { scan-assembler "\\(DW_AT_data_member_location\\)\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\\(DW_FORM_udata\\)" } } */
/* { dg-final { scan-assembler-not "\\(DW_AT_data_member_location\\)\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\\(DW_FORM_data\[48\]\\)" } } */