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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82936
lizhenhuan1019 changed:
What|Removed |Added
Attachment #42577|0 |1
is obsolete|
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
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
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