[Bug c++/58504] [4.7/4.8/4.9 regression] ICE with type trait as default template parameter

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 28 04:32:00 GMT 2014


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan 28 04:31:23 2014
New Revision: 207168

URL: http://gcc.gnu.org/viewcvs?rev=207168&root=gcc&view=rev
Log:
    PR c++/58504
    * pt.c (tsubst_copy_and_build) [TRAIT_EXPR]: Use tsubst for
    types.

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



More information about the Gcc-bugs mailing list