re PR c++/68290 (g++.dg/concepts/auto1.C FAILs)
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 2 Dec 2015 16:41:02 +0000 (16:41 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 2 Dec 2015 16:41:02 +0000 (16:41 +0000)
commitf4886d807d0773e6b35538446b098be8f2c88d49
treef960efb13ba27b633b4230d78c80b8ab85993ef6
parentf74e65509f3355b9bb0992d2c784e56962b06001
re PR c++/68290 (g++.dg/concepts/auto1.C FAILs)

PR c++/68290
* constraint.cc (make_constrained_auto): Move to...
* pt.c (make_auto_1): Add set_canonical parameter and set
TYPE_CANONICAL on the type only if it is true.
(make_decltype_auto): Adjust call to make_auto_1.
(make_auto): Likewise.
(splice_late_return_type): Likewise.
(make_constrained_auto): ...here.  Call make_auto_1 instead of
make_auto and pass false.  Set TYPE_CANONICAL directly.

From-SVN: r231189
gcc/cp/ChangeLog
gcc/cp/constraint.cc
gcc/cp/pt.c