[Bug c++/54122] gcc segfault comparing enum class in lambda inside constructor of a templated class

2013-01-30 Thread giel.de.nijs at actian dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54122 --- Comment #2 from Giel de Nijs 2013-01-30 20:05:52 UTC --- Created attachment 29310 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29310 Another reproduction Minimal test case based on actual code that's compiling correctly with

[Bug c++/54122] gcc segfault comparing enum class in lambda inside constructor of a templated class

2013-01-30 Thread giel.de.nijs at actian dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54122 --- Comment #1 from Giel de Nijs 2013-01-30 19:53:35 UTC --- We hit this bug when trying to compile one of our new projects. I've created a minimal test case very similar to the one in the report. The bug doesn't hit on 4.6.3 nor on Visual