I am trying to build Olex2 (sourceforge) project on x64 system with Pentium 6600Q and 6Gb of memory, using any 64bit Linux and it crashes gcc C++ on large template expansion (>0.5k templates a class) with internal compiler error, which happens in different files depending on the gcc version (4.1, 4.3 I tried) (please let me know if you need any debug info), however same versions of 64 bit Linux manages to compile Olex2 on 2Gb Intel MacBook with no problem (besides of a lot of swapping!, tasks a lot of time). I have not experienced this problem on 32 bit systems (less than 4Gb of memory though!). To repeat the bug, please get the olex2 source from http://sourceforge.net/projects/olex2/ and try to compile it on a 64bit system with more than 4Gb of memory (Suse, Fedora, scons script for building is available as well as some instructions are given here: http://olex2.opencryst.net/content/folder-help/building-olex2-from-scratch, but basically you would need wx-config and python-config for just the compilation.
-- Summary: g++ template expansion bug Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oleg_dolomanov at hotmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40365