I don't know whether my data point matters but I compiled your code snippet under SL 4.3 with gcc 3.4.6 and it doesn't yield any error message. Writes out numbers and exits normally. $ g77 -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-8) On Wed, Sep 19, 2007 at 10:25:55AM -0500, Hendrik van Hees wrote: > Thank you very much for all the responses. I think I didn't make the > problem clear. With the older version of gcc (I am using the fortran > compiler, g77) > > gcc version 3.3.5 20050117 (prerelease) (SUSE Linux) > > the little code runs fine. > > With the newer version, which is definitely in my installation of SL 5 > (I use yum as a package manager), > > gcc version 3.4.6 20060404 (Red Hat 3.4.6-4) > > the same code does not work any more. Perhaps it helps, when I give the > relevant piece of code: -- Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de