This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42225] [4.5 Regression] GCC 4.5 ICE (segfault) on C++ templated code
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2009 10:32:44 -0000
- Subject: [Bug c++/42225] [4.5 Regression] GCC 4.5 ICE (segfault) on C++ templated code
- References: <bug-42225-18502@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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