[Bug fortran/24424] New: Equivalence broken since 20051013

THOMAS Paul Richard 169137 prthomas@drfccad.cea.fr
Tue Oct 18 08:47:00 GMT 2005


This test, which is reduced from a test that Jakub reduced from the
Polyhedron
test_fpu.f90, segfaults in execution.

  integer, dimension (8388608) :: i, j, k
  equivalence (i(1), j(10))
  i = 5
  k = i
end

$ /irun/bin/gfortran -fmax-stack-var-size=1000000  JAKUBS_TEST.f90

THOMASP@PC-THOMAS-P /cygdrive/d/gfortran/pb04/lin/f90
$ ./a
Segmentation fault (core dumped)

It does this for any optimization/options that I have tried.

....snip....

Paul T



More information about the Fortran mailing list