This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]