the preprocessed file, which I uploaded on http://starynkevitch.net/Basile/jaksy-g++-4.1.0-20050717-bug.ii.gz (md5sum of gzipped file is e71436c0b8f93cef110aa6068b13bcb3) produce a reproducible compiler bug: /usr/local/bin/g++_4_snap -c jaksy.ii jaksy.hh: In constructor 'Jaksy_TVector<ctag, ScalarT, VectorT>::add_first(VectorT*, ScalarT)::QishCpp_Locals::QishCpp_Locals() [with int ctag = 1007, ScalarT = void*, VectorT = Jaksy_Vector]': jaksy.hh:672: instantiated from 'static Jaksy_TVector<ctag, ScalarT, VectorT>* Jaksy_TVector<ctag, ScalarT, VectorT>::add_first(VectorT*, ScalarT) [with int ctag = 1007, ScalarT = void*, VectorT = Jaksy_Vector]' jaksy.hh:734: instantiated from here jaksy.hh:672: internal compiler error: in tsubst_copy, at cp/pt.c:7684 Please submit a full bug report,
This bug is the same with g++-4.0 from debian/sid and with latest CVS (from yesterday) of gcc. (this is from a free GPL/LPGL software I am currently developping. The program may be not very meaningful yet; it is experimental). -- Summary: internal compiler error: in tsubst_copy Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: basile at starynkevitch dot net CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22521