[Bug c++/86098] canonical types differ for identical types
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 13 03:33:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86098
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jun 13 03:33:06 2018
New Revision: 261536
URL: https://gcc.gnu.org/viewcvs?rev=261536&root=gcc&view=rev
Log:
PR c++/86098 - ICE with template placeholder for TTP.
* typeck.c (structural_comptypes) [TEMPLATE_TYPE_PARM]: Check
CLASS_PLACEHOLDER_TEMPLATE.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction58.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
More information about the Gcc-bugs
mailing list