Bug#319293: bug in Package: gfortran
Package: gfortran
Version: 4.0.0-2
Hello
its my first time reporting a bug. I started trying
the new
gfortran-4.0
and it seems to have some problem when executing a
code with a "SPREAD" function:
*********
carlosp@lapatada:~/entanglement$ cat p.f90
program hey
print*,spread((/5/),1,3)
end program hey
carlosp@lapatada:~/entanglement$ ifort p.f90
carlosp@lapatada:~/entanglement$ ./a.out
5 5 5
carlosp@lapatada:~/entanglement$ gfortran-4.0 p.f90
carlosp@lapatada:~/entanglement$ ./a.out
Segmentation fault
*********
or even
*********
carlosp@lapatada:~/investigacion/entanglement$ cat
p.f90
program hey
print*,spread(5,1,3)
end program hey
carlosp@lapatada:~/entanglement$ ifort p.f90
carlosp@lapatada:~/entanglement$ ./a.out
5 5 5
carlosp@lapatada:~/entanglement$ gfortran-4.0 p.f90
carlosp@lapatada:~/entanglement$ ./a.out
********
(and stays there forever....)
i am using debian testing.
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
Reply to: