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++/42225] [4.5 Regression] GCC 4.5 ICE (segfault) on C++ templated code



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-11-30 10:32 -------
With checking enabled I get

> g++-4.5 -S -o /dev/null product_small.ii -B /abuild/rguenther/trunk-g/gcc
In file included from /home/bjacob/eigen/test/product_small.cpp:26:0:
/home/bjacob/eigen/test/product.h: In function 'void product(const MatrixType&)
[with MatrixType = Eigen::Matrix<float, 3, 2, 0>]':
/home/bjacob/eigen/test/product_small.cpp:31:97:   instantiated from here
/home/bjacob/eigen/test/product.h:45:60: internal compiler error: tree check:
accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:9823
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

works with 4.4.2.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to work|                            |4.4.2
           Priority|P3                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-30 10:32:44
               date|                            |
            Summary|GCC 4.5 ICE (segfault) on   |[4.5 Regression] GCC 4.5 ICE
                   |C++ templated code          |(segfault) on C++ templated
                   |                            |code
   Target Milestone|---                         |4.5.0


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


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