[Bug c++/90338] [9 Regression] member function pointer non-type template parameter compile fail while matching
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 5 15:53:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90338
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:c47f6f69745cd41cb7cb00407bf1ff81b2a56124
commit r9-8341-gc47f6f69745cd41cb7cb00407bf1ff81b2a56124
Author: Jason Merrill <jason@redhat.com>
Date: Thu Mar 5 10:22:25 2020 -0500
c++: Fix SFINAE for invalid non-type tparm types.
Just missing the usual SFINAE pattern here. This was fixed for GCC 10 as a
drive-by in r277902.
gcc/cp/ChangeLog
2020-03-05 Jason Merrill <jason@redhat.com>
PR c++/90338
* pt.c (invalid_nontype_parm_type_p): Check complain for non-literal
and mutable errors.
More information about the Gcc-bugs
mailing list