--- Comment #6 from jakub at gcc dot gnu dot org 2009-03-20 12:44 ---
You're right. About to test an additional patch.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #7 from jakub at gcc dot gnu dot org 2009-03-20 12:47 ---
Created an attachment (id=17502)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17502action=view)
gcc44-pr37890.patch
Testcase with more namespace aliases:
namespace A
{
int x = 1;
}
namespace B1 = A;
--- Comment #8 from jakub at gcc dot gnu dot org 2009-03-20 16:16 ---
Subject: Bug 37890
Author: jakub
Date: Fri Mar 20 16:15:38 2009
New Revision: 144978
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144978
Log:
PR debug/37890
* dwarf2out.c (gen_namespace_die):
--- Comment #9 from jakub at gcc dot gnu dot org 2009-03-20 19:38 ---
Fixed for real now.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from swagiaal at redhat dot com 2009-03-19 20:07 ---
Hmm.. compiling the testcase from comment #2
with gcc from http://koji.fedoraproject.org/koji/buildinfo?buildID=94544 still
produces import statements only at the global level:
...
142: Abbrev Number: 4
--- Comment #2 from jakub at gcc dot gnu dot org 2009-03-17 09:19 ---
Created an attachment (id=17473)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17473action=view)
gcc44-pr37890.patch
Ah, it actually is emitted in the correct lexical block, but in addition to
that it is emitted
--- Comment #3 from jakub at gcc dot gnu dot org 2009-03-17 17:52 ---
Subject: Bug 37890
Author: jakub
Date: Tue Mar 17 17:52:08 2009
New Revision: 144913
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144913
Log:
PR debug/37890
* name-lookup.c
--- Comment #4 from jakub at gcc dot gnu dot org 2009-03-17 17:56 ---
Fixed on the trunk.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from jan dot kratochvil at redhat dot com 2009-03-16 14:24
---
Verified as the problem exists on GNU C++ 4.4.0 20090315 (experimental).
Tried also non-main function and slightly complicated function.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37890