[Bug c++/94628] [8/9/10 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 20 19:10:09 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628
--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Nicholas Krause from comment #9)
> Created attachment 48318 [details]
> Possible Fix
No, it's not a fix, it just replaces an ICE with another ICE, as Martin already
pointed out:
94628-3.C:5:40: internal compiler error: tree check: expected
template_type_parm or template_template_parm or bound_template_template_parm,
have
nontype_argument_pack in instantiation_dependent_r, at cp/pt.c:26950
and doesn't fix the rejects-valid testcase, either.
How many times do you have to be told to test your patches? Besides, Patrick
is already working on this PR.
More information about the Gcc-bugs
mailing list