When I compile gsl1.5 using the options -O2 -ffast-math -ftree-vectorize with the actual snapshot of gcc41 (20050730) I get an ICE.
Michael Cieslinski last working snapshot is gcc-4.1-20050604 first failing snapshot is gcc-4.1-20050611 gcc41i -O2 -ffast-math -ftree-vectorize -c coulomb.i -o coulomb.o coulomb.c: In function 'coulomb_F_recur': coulomb.c:525: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1512 Please submit a full bug report, with preprocessed source if appropriate. gcc41i -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.1-20050730/configure --prefix=/usr/local/gcc41i --program-suffix=41i --with-arch=opteron --enable-languages=c,c++ --enable-checking Thread model: posix gcc version 4.1.0 20050730 (experimental) -- Summary: ICE: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1512 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: micis at gmx dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23173