[Bug c++/78894] [7 Regression] [c++17] ICE for std::list template deduction from std:: initializer_list
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 18 16:45:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78894
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 18 16:44:27 2017
New Revision: 244582
URL: https://gcc.gnu.org/viewcvs?rev=244582&root=gcc&view=rev
Log:
PR c++/78894 - ICE with class deduction and default arg
* pt.c (build_deduction_guide): Set DECL_PRIMARY_TEMPLATE.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction24.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list