[Bug c++/82936] segment fault crash for non-type template parameter

2017-11-10 Thread lizhenhuan1019 at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82936 --- Comment #4 from lizhenhuan1019 --- On Windows 10, MSYS2 in Mingw-w64 mode: The error output of g++ main.cpp -v -save-temps: ***The output begins Using built-in specs. COLLECT_GCC=D:\Program_Files\mysy64\mingw64\bin\g++.exe COLLECT_LTO_WR

[Bug c++/82936] segment fault crash for non-type template parameter

2017-11-10 Thread lizhenhuan1019 at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82936 lizhenhuan1019 changed: What|Removed |Added Attachment #42577|0 |1 is obsolete|

[Bug c++/82936] segment fault crash for non-type template parameter

2017-11-10 Thread lizhenhuan1019 at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82936 --- Comment #2 from lizhenhuan1019 --- Simplified the test case more: int fun(int i) { return 0; } template struct outer; template struct outer { template struct callable { }; }; outer::callable f;//this line triggered the

[Bug c++/82936] segment fault crash for non-type template parameter

2017-11-10 Thread lizhenhuan1019 at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82936 --- Comment #1 from lizhenhuan1019 --- Created attachment 42578 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42578&action=edit The preprocessed file main.ii on Arch Linux

[Bug c++/82936] New: segment fault crash for non-type template parameter

2017-11-10 Thread lizhenhuan1019 at qq dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lizhenhuan1019 at qq dot com Target Milestone: --- Created attachment 42577 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42577&action=edit The test case. Tried to compile the following code but gc