]> gcc.gnu.org Git - gcc.git/commit
re PR c++/26155 (ICE after error with namespace alias)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 1 Jun 2012 16:11:38 +0000 (16:11 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 1 Jun 2012 16:11:38 +0000 (16:11 +0000)
commit5714705f1189d42e55c4209e2d2485c9d3bea1cd
tree54a3eea2e026357457e9e32423fe45b7c32e0a5f
parent874a3589497f78b4631ee273b4bc5dd8293e3873
re PR c++/26155 (ICE after error with namespace alias)

/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.

From-SVN: r188113
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/namespace-alias-1.C [new file with mode: 0644]
This page took 0.061583 seconds and 5 git commands to generate.