This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26155] ICE after error with namespace alias
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 01 Jun 2012 16:13:03 +0000
- Subject: [Bug c++/26155] ICE after error with namespace alias
- Auto-submitted: auto-generated
- References: <bug-26155-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26155
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-06-01 16:11:44 UTC ---
Author: paolo
Date: Fri Jun 1 16:11:38 2012
New Revision: 188113
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188113
Log:
/cp
2012-06-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/26155
* name-lookup.c (push_namespace): When error recovery is
impossible just error out in duplicate_decls.
/testsuite
2012-06-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/26155
* g++.dg/parse/namespace-alias-1.C: New.
Added:
trunk/gcc/testsuite/g++.dg/parse/namespace-alias-1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-06-01 16:13:03 UTC ---
Fixed.