How does FOR_C handle “spaghetti” code with lots of GOTOs?
FOR_C will eliminate the label on an unreferenced do loop, but any other jumps to associated labels will be translated to comparable goto’s in C. The bottom line is that spaghetti FORTRAN will, unfortunately, result in spaghetti C – not a very natural result. As a solution, we offer FOR_STRUCT – a product which will restructure your spaghetti FORTRAN and produce clean, maintainable code. This is a MUST for reusing and upgrading your old FORTRAN, either before translating it to C, or simply to make it more maintainable. FOR_STRUCT pays for itself with only a few thousand lines of code being restructured!