[Bug debug/49871] -gdwarf-3 creates invalid DWARF3 with DW_AT_data_member_location attribute
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 28 20:38:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49871
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-28 20:37:50 UTC ---
Author: jakub
Date: Thu Jul 28 20:37:43 2011
New Revision: 176895
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176895
Log:
PR debug/49871
* dwarf2out.c (size_of_die, value_format, output_die): Use
DW_FORM_udata instead of DW_FORM_data[48] for
dw_val_class_unsigned_const DW_AT_data_member_location for DWARF 3.
* gcc.dg/debug/dwarf2/pr49871.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/debug/dwarf2/pr49871.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/dwarf2out.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list