Have other unify failure functions call unify_invalid.
authorJason Merrill <jason@redhat.com>
Wed, 10 May 2017 20:20:18 +0000 (16:20 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 10 May 2017 20:20:18 +0000 (16:20 -0400)
commitdd54ca5649175043793ec22ee6fd568b004bb83f
treec5f0e37a8fb1b1a1192c8fefc5cca372db364bdf
parent00e08b0f4802855cf1516e67faea5ab385acafd5
Have other unify failure functions call unify_invalid.

* pt.c (unify_parameter_deduction_failure, unify_cv_qual_mismatch)
(unify_type_mismatch, unify_parameter_pack_mismatch)
(unify_ptrmem_cst_mismatch, unify_expression_unequal)
(unify_parameter_pack_inconsistent, unify_inconsistency)
(unify_vla_arg, unify_method_type_error, unify_arity)
(unify_arg_conversion, unify_no_common_base)
(unify_inconsistent_template_template_parameters)
(unify_template_deduction_failure)
(unify_template_argument_mismatch)
(unify_overload_resolution_failure): Call unify_invalid.

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