[Bug c++/87616] Compiler segfaults on dependent templated friend

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/87616] Compiler segfaults on dependent templated friend

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616 Andrew Pinski changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn ---

[Bug c++/87616] Compiler segfaults on dependent templated friend

2018-10-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/87616] Compiler segfaults on dependent templated friend

2018-10-15 Thread mickg at mickg dot net
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

[Bug c++/87616] Compiler segfaults on dependent templated friend

2018-10-15 Thread mickg at mickg dot net
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