re PR c++/66743 (ICE: tree check: expected record_type or union_type or qual_union_ty...
authorJason Merrill <jason@redhat.com>
Fri, 3 Jul 2015 00:45:34 +0000 (20:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 3 Jul 2015 00:45:34 +0000 (20:45 -0400)
commita426f31afb36abf86c161ecd47b5d8e873fe068e
tree14d8df9d5580a67c1be0fa717da92b953fa197c3
parenta3d8e94a1f9ba48334ebae69a581aabf56361d1b
re PR c++/66743 (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)

PR c++/66743
* pt.c (for_each_template_parm_r) [UNDERLYING_TYPE]: Use
TYPE_VALUES_RAW rather than TYPE_FIELDS.

From-SVN: r225365
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/alias-decl-51.C [new file with mode: 0644]