https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616
--- Comment #5 from Andrew Pinski ---
(In reply to Michael Gorbovitski from comment #2)
> Slightly simplified test case (no need for double-argument template):
here is one which is valid C++98 which shows even GCC 4.1.2 has the same ICE
struct fo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616
Andrew Pinski changed:
What|Removed |Added
CC||tangyixuan at mail dot
dlut.edu.cn
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616
--- Comment #2 from Michael Gorbovitski ---
Slightly simplified test case (no need for double-argument template):
struct foo{};
template struct friender {
using cls=foo;
};
class bar {
template
friend class friender::cls;
int
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616
--- Comment #1 from Michael Gorbovitski ---
> g++ prog.cc -Wall -Wextra
prog.cc:8:36: internal compiler error: Segmentation fault
8 | friend class friender::cls;
|^
0xb3 crash_signal
../../so