[Bug c++/66743] [5/6 regression] ICE: tree check: expected record_type or union_type or qual_union_type, have underlying_type in for_each_template_parm_r, at cp/pt.c:8234

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 3 00:46:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66743

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul  3 00:45:34 2015
New Revision: 225365

URL: https://gcc.gnu.org/viewcvs?rev=225365&root=gcc&view=rev
Log:
        PR c++/66743
        * pt.c (for_each_template_parm_r) [UNDERLYING_TYPE]: Use
        TYPE_VALUES_RAW rather than TYPE_FIELDS.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-51.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c



More information about the Gcc-bugs mailing list