This is the mail archive of the 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]

[PATCH] Re: dwarf2out change breaks ada

This patch fixes Ada.

Bootstrapped on i686-pc-linux-gnu
These three test suite runs do not reveal any new regression:
- gcc test suite
- libstdc++ test suite
- gdb test suite using carlton_dictionary-branch

OK for mainline?


2004-01-28 Devang Patel <dpatel@Apple.Com>

* dwarf2out.c (gen_field_die): Do not equate decl number to die.

Index: dwarf2out.c
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.481
diff -c -3 -p -r1.481 dwarf2out.c
*** dwarf2out.c 27 Jan 2004 20:35:51 -0000 1.481
--- dwarf2out.c 29 Jan 2004 02:35:26 -0000
*************** gen_field_die (tree decl, dw_die_ref con
*** 11188,11196 ****
add_AT_unsigned (decl_die, DW_AT_accessibility, DW_ACCESS_protected);
else if (TREE_PRIVATE (decl))
add_AT_unsigned (decl_die, DW_AT_accessibility, DW_ACCESS_private);
- /* Equate decl number to die, so that we can look up this decl later on. */
- equate_decl_number_to_die (decl, decl_die);

  #if 0
--- 11188,11193 ----

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