This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/80321] [7 regression] infinite recursion with inlining of nested function and debug info
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Apr 2017 11:05:43 +0000
- Subject: [Bug debug/80321] [7 regression] infinite recursion with inlining of nested function and debug info
- Auto-submitted: auto-generated
- References: <bug-80321-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80321
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Apr 13 11:05:09 2017
New Revision: 246900
URL: https://gcc.gnu.org/viewcvs?rev=246900&root=gcc&view=rev
Log:
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-04-13 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/debug10.adb: New test.
* gnat.dg/debug10_pkg.ads: New helper.
Added:
trunk/gcc/testsuite/gcc.dg/debug/pr80321.c
trunk/gcc/testsuite/gnat.dg/debug10.adb
trunk/gcc/testsuite/gnat.dg/debug10_pkg.ads
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog