------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-03-18 17:49 ------- Summary of what other compilers do: - gfortran-compiled code runs OK without -fbounds-check, issue runtime error with -fbounds-check - intel-compiled code runs OK, but segfaults with -check all - sun-compiled code segfaults whether you use -C or not - g95 runs OK with and without checking
I think it's a gfortran -fbounds-check bug, and it seems to be a duplicate of PR 31119. <FX looks to be sure. He realizes it's the exact same code. Stupid me, should have looked earlier.> *** This bug has been marked as a duplicate of 31119 *** -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31148