[Bug debug/80321] [7 regression] infinite recursion with inlining of nested function and debug info
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 5 21:51:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80321
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May 5 21:50:27 2017
New Revision: 247695
URL: https://gcc.gnu.org/viewcvs?rev=247695&root=gcc&view=rev
Log:
Backported from mainline
2017-04-13 Jakub Jelinek <jakub@redhat.com>
PR debug/80321
* dwarf2out.c (decls_for_scope): Ignore declarations of
current_function_decl in BLOCK_NONLOCALIZED_VARS.
* gcc.dg/debug/pr80321.c: New test.
2017-03-31 Jakub Jelinek <jakub@redhat.com>
PR debug/79255
* dwarf2out.c (decls_for_scope): If BLOCK_NONLOCALIZED_VAR is
a FUNCTION_DECL, pass it as decl instead of origin to
process_scope_var.
* gcc.dg/pr79255.c: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/debug/pr80321.c
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr79255.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/dwarf2out.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list