[Bug c++/50870] [C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 7 22:58:00 GMT 2011


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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-07 22:52:27 UTC ---
Author: jason
Date: Mon Nov  7 22:52:23 2011
New Revision: 181131

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181131
Log:
    PR c++/50870
    * pt.c (tsubst_copy): Handle NAMESPACE_DECL.
    (tsubst_copy_and_build) [COMPONENT_REF]: Handle a still-dependent
    object.

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



More information about the Gcc-bugs mailing list