Liste des Groupes | Revenir à cl fortran |
Lynn McGuire <lynnmcguire5@gmail.com> schrieb:Ripping this out of my F77 code would be a monumentous project. Over 100,000 lines of code reference the memory allocation scheme that we have used in Fortran since 1977. We name the thousands of memory blocks for multiple references and put overwrite detection in them. No thanks.
I have 197 common blocks included from dedicated files and a massiveWhat do you use the equivalences for? Saving memory? Then this
number of equivalences all over the place. Several of the equivalences
are actually in the common block files. The equivalences have made the
eventual C++ conversion of the Fortran code tricky.
should not be a large issue on modern machines.
If you are using them for tricks with type conversion, then you
are on thin ice already, and have been since Fortran 66.
And if you have a few big arrays, then changing those to ALLOCATABLE
and allocating them at runtime might well be straightforward.
Les messages affichés proviennent d'usenet.