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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Apr  5 02:50:52 2019
New Revision: 270160

URL: https://gcc.gnu.org/viewcvs?rev=270160&root=gcc&view=rev
Log:
        PR c++/89966 - error with non-type auto tparm.

My patch for PR 86932 broke this testcase by passing tf_partial to
coerce_template_template_parms, which prevented do_auto_deduction from
actually replacing the auto.

        * pt.c (do_auto_deduction): Clear tf_partial.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/nontype-auto15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

Reply via email to