[Bug c++/71747] [4.9/5/6/7 Regression] ICE on invalid C++11 code with misuse of overloaded operator '()': Segmentation fault (program cc1plus)
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 27 14:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71747
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jul 27 14:31:30 2016
New Revision: 238785
URL: https://gcc.gnu.org/viewcvs?rev=238785&root=gcc&view=rev
Log:
PR c++/71747 - ICE with self-referential partial spec
* pt.c (get_partial_spec_bindings): Replace tparms and spec_args
parameters with spec_tmpl. Call push_tinst_level.
(most_specialized_partial_spec): Adjust.
(more_specialized_partial_spec): Adjust.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/initlist-template2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.dg/template/pr55843.C
More information about the Gcc-bugs
mailing list