[Bug c++/50864] [4.6/4.7 Regression] ICE with decltype and "declval" from another namespace

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 28 18:40:00 GMT 2011


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

--- Comment #12 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-28 18:40:29 UTC ---
Author: paolo
Date: Fri Oct 28 18:40:22 2011
New Revision: 180623

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180623
Log:
/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.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash109.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list