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/80321] [7 regression] infinite recursion with inlining of nested function and debug info


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

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