[Bug c++/46420] [C++0X][4.6 regression] ICE: in tsubst_copy, at cp/pt.c:11677

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 11 06:17:00 GMT 2010


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-11 06:17:38 UTC ---
Author: jason
Date: Thu Nov 11 06:17:32 2010
New Revision: 166592

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166592
Log:
    PR c++/46420
    * pt.c (tsubst_copy_and_build) [TARGET_EXPR]: New case.
    [CONSTRUCTOR]: Use the tsubsted type.

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



More information about the Gcc-bugs mailing list