[Bug c++/79308] ICE on specialization of nested template classes (in finish_member_declaration, at cp/semantics.c:2963)
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 17 12:21:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79308
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu.org
Depends on| |89744
--- Comment #5 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
IMHO the testcase is invalid (e.g. clang rejects it).
But by changing the line
struct Element<int>::WriteOutput<InnerType>
into
struct Element<int>::WriteOutput
it can be turned into a valid testcase.
There are several similar testcases, so I opened a new PR 89744 for this.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89744
[Bug 89744] [8/9 Regression] ICE with specialization of nested template class
More information about the Gcc-bugs
mailing list