Alemberti
Alemberti

Reputation: 1

Force at least one pass of a do loop in legacy Fortran code

I have to compile an old fortran source already compiled using g77 but with the option -fonetrip to force execution of do loops at least once. I was not able to find this option or an equivalent in gfortran and the execution without this option aborts. Any suggestions?

Probably I can go back to g77 but I do like if possible to use gfortran....

Upvotes: 0

Views: 91

Answers (0)

Related Questions