From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15802 invoked by alias); 14 Dec 2009 12:43:32 -0000 Received: (qmail 15745 invoked by uid 48); 14 Dec 2009 12:43:20 -0000 Date: Mon, 14 Dec 2009 12:43:00 -0000 Message-ID: <20091214124320.15743.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: "jacob dot benoit dot 1 at gmail dot com" 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-12/txt/msg01350.txt.bz2 ------- Comment #16 from jacob dot benoit dot 1 at gmail dot com 2009-12-14 12:43 ------- (In reply to comment #15) > Fair enough. It was me doing weird things. > > I submitted a patch to http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00669.html > Let's see how it turns out. > > Thanks for your feedback. > Thanks for your responsiveness! The whole Eigen team is very pleased about this. By the way, this bug report comes from trying to build the Eigen test suite (development branch). This is a great real-world use case for mixing very complate C++ template stuff with other specific topics such as SSE intrinsics, etc. If you want to test it yourself, install CMake and Mercurial, and do: $ hg clone https://bitbucket.org/eigen/eigen/ $ mkdir eigen-build $ cd eigen-build $ cmake ../eigen $ make check I mention this because I heared that GCC has a list of project it builds before releasing a version, as real-world test cases. Maybe Eigen's test suite can be added to that list? Maybe after we make the next release? (The current stable release, 2.0, didn't trigger this GCC error). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42225