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

             Bug #: 51318
           Summary: [4.7 Regression] segfault on Eigen3
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: marc.gli...@normalesup.org


enum { ColMajor = 0, RowMajor = 0x1, AutoAlign = 0, DontAlign = 0x2 };
template<typename _Scalar, int _Rows, int _Cols, int _Options =  (_Rows==1) ?
RowMajor : ColMajor > class Matrix;
template<typename T> class MatrixBase {
        typedef Matrix<double,T::X,0> type;
};

$ g++ -fsyntax-only a.ii
a.ii:4:30: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to