PR c++/88183 - ICE with .* fold-expression.
authorJason Merrill <jason@redhat.com>
Fri, 1 Mar 2019 00:08:58 +0000 (19:08 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 1 Mar 2019 00:08:58 +0000 (19:08 -0500)
commitaaa6a4664b55ef69bd19c2dee94a40cb619f6330
treee1d4b52d1b28605ef8c77e615cf4ea7c62490561
parent1eb7a0850bfe34f3bae0681a0032e4cbb3adaa17
PR c++/88183 - ICE with .* fold-expression.

build_m_component_ref can't handle type-dependent operands, so let's use the
default case; tsubst_copy_and_build also uses build_x_binary_op for
substituting a DOTSTAR_EXPR.

* pt.c (fold_expression) [DOTSTAR_EXPR]: Remove special handling.

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