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

marc.glisse at normalesup dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 26 21:03:00 GMT 2011


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: unassigned@gcc.gnu.org
        ReportedBy: marc.glisse@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.



More information about the Gcc-bugs mailing list