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/51410] [4.5/4.6 Regression] duplicate variable DIE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51410

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-08 13:39:38 UTC ---
Author: jakub
Date: Thu Dec  8 13:39:34 2011
New Revision: 182114

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182114
Log:
    Backport from mainline
    2011-12-05  Jakub Jelinek  <jakub@redhat.com>

    PR debug/51410
    * c-decl.c (pop_scope): Don't add DECL_EXTERNAL decls
    for debug info if scope is file_scope.

    * gcc.dg/debug/dwarf2/pr51410.c: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/debug/dwarf2/pr51410.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/c-decl.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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