re PR c++/56238 (ICE in tree check: expected record_type or union_type or qual_union_...
authorJason Merrill <jason@redhat.com>
Sun, 17 Mar 2013 02:34:03 +0000 (22:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 17 Mar 2013 02:34:03 +0000 (22:34 -0400)
commit011ce3f3c2d1a534b2671ed6d5204fec9120fff7
tree4bc87c54703eb149d1785dc91d46c893c0a495d9
parent98e8112376654ff5eae902ecd41a61bf0508ff73
re PR c++/56238 (ICE in tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_conversions, at cp/search.c:2515)

PR c++/56238
* pt.c (fold_non_dependent_expr_sfinae): Check
instantiation_dependent_expression_p.

From-SVN: r196724
gcc/cp/ChangeLog
gcc/cp/pt.c