This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/49871] -gdwarf-3 creates invalid DWARF3 with DW_AT_data_member_location attribute


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49871

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-28 16:21:14 UTC ---
Author: jakub
Date: Thu Jul 28 16:21:08 2011
New Revision: 176876

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176876
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:
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr49871.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]