[Bug c++/79308] ICE on specialization of nested template classes (in finish_member_declaration, at cp/semantics.c:2963)
bjhend@sags-per-mail.de
gcc-bugzilla@gcc.gnu.org
Wed Feb 1 19:51:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79308
--- Comment #3 from bjhend <bjhend@sags-per-mail.de> ---
(In reply to Martin Liška from comment #2)
> Confirmed, all releases I have ICE (4.5.0+).
Hi Martin,
thanks for confirmation. You also added the keyword ice-on-INvalid-code, but I
think the code is valid.
The C++-11 standard, paragraph 14.7.3, clause 5 contains a similar example (see
nested template struct C) with a single element function. Additionally, I
cannot find anything in the text, saying that this code is invalid, but I might
be wrong in interpreting the standard.
More information about the Gcc-bugs
mailing list