GFortran: segmentation fault
François-Xavier Coudert
fxcoudert@gmail.com
Tue Aug 28 18:58:00 GMT 2007
Hello,
AS: Please send your message to the fortran@gcc.gnu.org list instead
of individuals. Others might suggestions or solutions that wouldn't
occur to me, and having mails sent to lists is a good way of keeping a
reference of the problem and solution! (How many times have you found
the solution to a problem of yours by googling and finding a relevant
mailing-list posting?)
> I have the same segmentation fault as V.TRINITE has in the same environement (same compiler, same OS)
> http://gcc.gnu.org/ml/fortran/2007-07/msg00030.html
It's nice to know that other people can reproduce this problem. I have
never managed to have it fail myself ;-)
What is your system (Windows version, what terminal/console are you
running gfortran in, etc.)? What is your exact compiler version
(output of "gfortran -v")? Does the problem persist if you uninstall
the compiler and install a newer version (download the 2007-08-24
version at http://quatramaran.ens.fr/~coudert/gfortran/gfortran-windows-20070824.exe).
> As you can see in the enclosed source:
> gfortran -fconvert=big-endian moyenne_sigma_test.f -o moyenne_sigma
>
> gives a segmentation fault:
> moyenne_sigma_test.f: In function 'MAIN__':
> moyenne_sigma_test.f:167: internal compiler error: Segmentation fault
It does segfault for me. Can you check that it occurs without
-fconvert=big-endian? Can you post the full output of "gfortran -v
moyenne_sigma_test.f"?
With this information, we should be able to reproduce and fix this problem.
Merci !
FX
More information about the Fortran
mailing list