[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
Thu Apr 13 11:05:00 GMT 2017


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


More information about the Gcc-bugs mailing list