------- Additional Comments From Thomas dot Koenig at online dot de 2005-01-28 13:47 ------- Created an attachment (id=8090) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8090&action=view) Simpler example of failing C source code
This is a simpler example of failing C code (which won't make peoples' eyes cross from looking at converted Fortran DO loops and array indices), and which also has its variables initialized. The error is the same: $ gcc -O1 sl4-error.c $ ./a.out Segmentation fault $ gcc -v ; gcc -dumpmachine Using built-in specs. Configured with: ../gcc-4.0-20050123/configure --prefix=/home/zfkts --enable-languages=c,f95 Thread model: posix gcc version 4.0.0 20050123 (experimental) ia64-unknown-linux-gnu -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18977