[Bug c++/68290] g++.dg/concepts/auto1.C FAILs
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 2 16:41:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68290
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Wed Dec 2 16:41:02 2015
New Revision: 231189
URL: https://gcc.gnu.org/viewcvs?rev=231189&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constraint.cc
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list