re PR c++/68683 ([concepts] function satisfy_argument_deduction_constraint modifies...
authorRyan Burn <contact@rnburn.com>
Mon, 7 Dec 2015 21:45:13 +0000 (21:45 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 Dec 2015 21:45:13 +0000 (16:45 -0500)
commit17c6c56b906d99b45dc5eefa5d39435188235051
treee0ef45fd2c4e7514278542421bdec3eb0710bfc2
parent0be72a6b4bc5d9de78d03d761ad9fdf0c1fa744d
re PR c++/68683 ([concepts] function satisfy_argument_deduction_constraint modifies a type tree node but leaves TYPE_CANONICAL unchanged)

PR c++/68683
* constraint.cc (satisfy_argument_deduction_constraint): Set
TYPE_CANONICAL to NULL_TREE if PLACEHOLDER_TYPE_CONSTRAINTS are
changed.

From-SVN: r231385
gcc/cp/ChangeLog
gcc/cp/constraint.cc
gcc/testsuite/g++.dg/concepts/pr68683.C [new file with mode: 0644]