re PR c++/50864 (ICE with decltype and "declval" from another namespace)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 28 Oct 2011 18:40:22 +0000 (18:40 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 28 Oct 2011 18:40:22 +0000 (18:40 +0000)
commit18232de4dbc48214f26d2d7fc442ef4224afe3b0
tree2559b1579f0df1809d23ac9a805dbfdf6ecea600
parentc4ab64c640c78b4800b9b1917835c9b58ce16027
re PR c++/50864 (ICE with decltype and "declval" from another namespace)

/cp
2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50864
* pt.c (tsubst_copy_and_build): Fix qualified_name_lookup_error
call in case COMPONENT_REF.

/testsuite
2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50864
* g++.dg/template/crash109.C: New.

From-SVN: r180623
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash109.C [new file with mode: 0644]