From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9713 invoked by alias); 30 Nov 2009 10:33:05 -0000 Received: (qmail 8375 invoked by uid 48); 30 Nov 2009 10:32:44 -0000 Date: Mon, 30 Nov 2009 10:33:00 -0000 Message-ID: <20091130103244.8374.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/42225] [4.5 Regression] GCC 4.5 ICE (segfault) on C++ templated code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg02592.txt.bz2 ------- 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]': /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 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