r277901 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
jason@gcc.gnu.org
jason@gcc.gnu.org
Thu Nov 7 00:31:00 GMT 2019
Author: jason
Date: Thu Nov 7 00:31:52 2019
New Revision: 277901
URL: https://gcc.gnu.org/viewcvs?rev=277901&root=gcc&view=rev
Log:
PR c++/92150 - partial specialization with class NTTP.
Here unify was getting confused by the VIEW_CONVERT_EXPR we add in
finish_id_expression_1 to make class NTTP const when they're used in an
expression.
Tested x86_64-pc-linux-gnu, applying to trunk.
* pt.c (unify): Handle VIEW_CONVERT_EXPR.
Added:
trunk/gcc/testsuite/g++.dg/cpp2a/nontype-class24.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-cvs
mailing list