[Bug c++/94888] segment fault

2020-04-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #6

[Bug c++/94888] segment fault

2020-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 --- Comment #5 from Jonathan Wakely --- Further reduced: struct FunctionBridger { template FunctionBridger(T& func_) { T t(func_); } }; struct Function : FunctionBridger { template Function( Ty&& func) : Function

[Bug c++/94888] segment fault

2020-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/94888] segment fault

2020-04-30 Thread chunqiu1234 at foxmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 --- Comment #3 from zhangzhanli --- So this is output from latest version of g++ ? With Apple Clang, there is no such problem (recursive and segmentation fault). MacOS Output: jaly@Jalys-MBP gcccompared % /Volumes/macos/Applications/Xcode.app

[Bug c++/94888] segment fault

2020-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 --- Comment #2 from Jonathan Wakely --- AddressSanitizer:DEADLYSIGNAL = ==198476==ERROR: AddressSanitizer: stack-overflow on address 0x7ffc0eba4ff8 (pc 0x7f4eab1169b4 bp 0x7f4eab20ef

[Bug c++/94888] segment fault

2020-04-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94888 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|