[Bug c++/51318] [4.7 Regression] segfault on Eigen3

reichelt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 29 22:41:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51318

Volker Reichelt <reichelt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2011-11-29
                 CC|                            |reichelt at gcc dot gnu.org
     Ever Confirmed|0                           |1
   Target Milestone|---                         |4.7.0

--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> 2011-11-29 22:07:38 UTC ---
Confirmed. Even simpler testcase:

=================================================
enum { e0, e1 };

template<bool B, int = B ? e0 : e1> struct A {};

template<typename T> struct B
{
  A<T::X> a;
};
=================================================



More information about the Gcc-bugs mailing list