I have tried to compile the example "bicgstab" located in /examples/laplacian from the library itl-4.0.0-1 (http://www.osl.iu.edu/research/itl/). When I try to compile it I have this: lepalom@hoth:~/tmp/itl-4.0.0-1/examples/laplacian$ make bicgstab g++ -DHAVE_CONFIG_H -I/usr/include -I../.. -ftemplate-depth-30 -Wall -g -save-temps -c bicgstab.cpp laplacian.h: In function `void generate_laplacian_2D(Matrix&, int, int) [with Matrix = Matrix]': bicgstab.cpp:116: instantiated from here laplacian.h:71: internal compiler error: Violació de segment Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make: *** [bicgstab.o] Error 1 Howeber, if I compile it wit g++-3.2.3 I don't have any problem.
Created attachment 5477 [details] the preprocessed file (*.i*)
Created attachment 5478 [details] the file that produces the error
lepalom@hoth:~/tmp/itl-4.0.0-1/examples/laplacian$ g++ --v Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs Configured with: ../src/configure -v --enable-languages=c,c+ +,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix gcc version 3.3.2 (Debian)
Does not happen in 3.3.1 (maybe a regression). Also does not happen in 3.4 (the mainline), but it does not compile because your code needs to be updated for C++ standards.