This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/56095] Crash casting function pointer as non-type template argument


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]