[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
Tue Nov 8 00:48:00 GMT 2011


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

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-08 00:46:10 UTC ---
Author: jason
Date: Tue Nov  8 00:46:06 2011
New Revision: 181140

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/decltype35.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/pt.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list