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 #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


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