This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56095] Crash casting function pointer as non-type template argument
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Jan 2013 12:07:25 +0000
- Subject: [Bug c++/56095] Crash casting function pointer as non-type template argument
- Auto-submitted: auto-generated
- References: <bug-56095-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56095
--- Comment #4 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2013-01-24 12:07:25 UTC ---
(In reply to comment #3)
> I cant reproduce the crash with any version
Here is what I get with my mingw-64 gcc 4.8.0 20130120 (experimental):
"main.cpp||In function 'int main(int, char**)':|
main.cpp|7|internal compiler error: tree check: expected tree that contains
'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3527"
When I use
http://liveworkspace.org/code/47sr7W$0
I also get "source.cpp:7:33: internal compiler error: Segmentation fault"