I put a test program up at
I believe the code is correct, but the binary generated by pgf95 segfaults. I’ve also tried it with the compilers from Sun, Intel, DEC/Compaq/HP (Alpha), and GNU. The binaries generated by these other compilers run correctly.
This is with the latest version of the PGI compilers.
Can anyone see a bug in my code?