This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79308] ICE on specialization of nested template classes (in finish_member_declaration, at cp/semantics.c:2963)
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Feb 2017 21:25:56 +0000
- Subject: [Bug c++/79308] ICE on specialization of nested template classes (in finish_member_declaration, at cp/semantics.c:2963)
- Auto-submitted: auto-generated
- References: <bug-79308-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79308
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code |ice-on-valid-code
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to bjhend from comment #3)
> (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.
Sorry for such keyword, I'm not familiar with the standard. Let's switch that
to valid and see what maintainers think about it.