This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran and f77 line continuation
- From: Ewan <e dot towie at elec dot gla dot ac dot uk>
- To: fortran at gcc dot gnu dot org
- Date: Wed, 29 Nov 2006 17:41:09 +0000
- Subject: Re: gfortran and f77 line continuation
I followed some of the list members comments and have managed to solve
the problem. I have set the fixed line-length option to 132, the
maximum allowed, which is compatible with my code. This solved half of
my compilation problems.
Then by ensuring that all the .f files were compiled with fixed-form
semantics, i also enabled that flag.
I am also having other difficulties with this compiler during runtime.
It doesn't seem to like initialising a whole 2D integer array using a
normal integer assignment.
e.g. if an integer array has been allocated as say, 2d_array(i,j), then
the initialisation line of 2d_array= 0 throws a segmentation fault.
I should say that these issues were not apparent in either the Portland
groups, or Intel's fortran 95 compilers. This seems to be an issue with
Gnu's compiler only, but this is not unknown, just very annoying!
Ewan