public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/66503] [4.9/5/6 Regression] missing DW_AT_abstract_origin for cross-unit call sites
[not found] <bug-66503-4@http.gcc.gnu.org/bugzilla/>
@ 2015-06-11 12:40 ` pmderodat at gcc dot gnu.org
2015-06-11 12:45 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: pmderodat at gcc dot gnu.org @ 2015-06-11 12:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66503
--- Comment #2 from pmderodat at gcc dot gnu.org ---
Author: pmderodat
Date: Thu Jun 11 12:40:10 2015
New Revision: 224371
URL: https://gcc.gnu.org/viewcvs?rev=224371&root=gcc&view=rev
Log:
Restore DW_AT_abstract_origin for cross-unit call sites
PR debug/66503
gcc/ChangeLog:
* debug.h (struct gcc_debug_hooks): Add a
register_main_translation_unit hook.
* debug.c (do_nothing_debug_hooks): Provide a function for this
new hook.
* dbxout.c (dbx_debug_hooks): Likewise.
* sdbout.c (sdb_debug_hooks): Likewise.
* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
* dwarf2out.c (main_translation_unit): New global variable.
(dwarf2out_register_main_translation_unit): New function
implementing the new hook.
(dwarf2_debug_hooks): Assign
dwarf2out_register_main_translation_unit to this new hook.
(dwarf2out_init): Associate any main translation unit to
comp_unit_die ().
* c/c-decl.c (pop_scope): Register the main translation unit
through the new debug hook.
* cp/decl.c (cxx_init_decl_processing): Likewise.
gcc/ada/ChangeLog:
* gcc-interface/utils.c (get_global_context): Register the main
translation unit through the new debug hook.
gcc/fortran/ChangeLog:
* f95-lang.c (gfc_create_decls): Register the main translation
unit through the new debug hook.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/utils.c
trunk/gcc/c/c-decl.c
trunk/gcc/cp/decl.c
trunk/gcc/dbxout.c
trunk/gcc/debug.c
trunk/gcc/debug.h
trunk/gcc/dwarf2out.c
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/f95-lang.c
trunk/gcc/sdbout.c
trunk/gcc/vmsdbgout.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/66503] [4.9/5/6 Regression] missing DW_AT_abstract_origin for cross-unit call sites
[not found] <bug-66503-4@http.gcc.gnu.org/bugzilla/>
2015-06-11 12:40 ` [Bug debug/66503] [4.9/5/6 Regression] missing DW_AT_abstract_origin for cross-unit call sites pmderodat at gcc dot gnu.org
@ 2015-06-11 12:45 ` rguenth at gcc dot gnu.org
2015-06-11 12:51 ` pmderodat at gcc dot gnu.org
2015-06-22 12:03 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-11 12:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66503
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Jun 11 12:44:56 2015
New Revision: 224372
URL: https://gcc.gnu.org/viewcvs?rev=224372&root=gcc&view=rev
Log:
2015-06-11 Richard Biener <rguenther@suse.de>
PR middle-end/66503
* dwarf2out.c (resolve_addr): Guard backport of PR66549
with in_lto_p.
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/dwarf2out.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/66503] [4.9/5/6 Regression] missing DW_AT_abstract_origin for cross-unit call sites
[not found] <bug-66503-4@http.gcc.gnu.org/bugzilla/>
2015-06-11 12:40 ` [Bug debug/66503] [4.9/5/6 Regression] missing DW_AT_abstract_origin for cross-unit call sites pmderodat at gcc dot gnu.org
2015-06-11 12:45 ` rguenth at gcc dot gnu.org
@ 2015-06-11 12:51 ` pmderodat at gcc dot gnu.org
2015-06-22 12:03 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 4+ messages in thread
From: pmderodat at gcc dot gnu.org @ 2015-06-11 12:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66503
--- Comment #4 from pmderodat at gcc dot gnu.org ---
Author: pmderodat
Date: Thu Jun 11 12:51:04 2015
New Revision: 224373
URL: https://gcc.gnu.org/viewcvs?rev=224373&root=gcc&view=rev
Log:
Restore DW_AT_abstract_origin for cross-unit call sites
PR debug/66503
Backport from mainline
gcc/ChangeLog:
* debug.h (struct gcc_debug_hooks): Add a
register_main_translation_unit hook.
* debug.c (do_nothing_debug_hooks): Provide a function for this
new hook.
* dbxout.c (dbx_debug_hooks): Likewise.
* sdbout.c (sdb_debug_hooks): Likewise.
* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
* dwarf2out.c (main_translation_unit): New global variable.
(dwarf2out_register_main_translation_unit): New function
implementing the new hook.
(dwarf2_debug_hooks): Assign
dwarf2out_register_main_translation_unit to this new hook.
(dwarf2out_init): Associate any main translation unit to
comp_unit_die ().
* c/c-decl.c (pop_scope): Register the main translation unit
through the new debug hook.
* cp/decl.c (cxx_init_decl_processing): Likewise.
gcc/ada/ChangeLog:
* gcc-interface/utils.c (get_global_context): Register the main
translation unit through the new debug hook.
gcc/fortran/ChangeLog:
* f95-lang.c (gfc_create_decls): Register the main translation
unit through the new debug hook.
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/ada/ChangeLog
branches/gcc-5-branch/gcc/ada/gcc-interface/utils.c
branches/gcc-5-branch/gcc/c/c-decl.c
branches/gcc-5-branch/gcc/cp/decl.c
branches/gcc-5-branch/gcc/dbxout.c
branches/gcc-5-branch/gcc/debug.c
branches/gcc-5-branch/gcc/debug.h
branches/gcc-5-branch/gcc/dwarf2out.c
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/f95-lang.c
branches/gcc-5-branch/gcc/sdbout.c
branches/gcc-5-branch/gcc/vmsdbgout.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/66503] [4.9/5/6 Regression] missing DW_AT_abstract_origin for cross-unit call sites
[not found] <bug-66503-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2015-06-11 12:51 ` pmderodat at gcc dot gnu.org
@ 2015-06-22 12:03 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-22 12:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66503
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-22 12:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-66503-4@http.gcc.gnu.org/bugzilla/>
2015-06-11 12:40 ` [Bug debug/66503] [4.9/5/6 Regression] missing DW_AT_abstract_origin for cross-unit call sites pmderodat at gcc dot gnu.org
2015-06-11 12:45 ` rguenth at gcc dot gnu.org
2015-06-11 12:51 ` pmderodat at gcc dot gnu.org
2015-06-22 12:03 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).