- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder when the property "Enable FORTRAN-66 semantics" is needed. It is located in the property list of Fortan/Language. I had enabled this property. I really do not know why I enable this property. Probably because I have some old FORTRAN routines in the project. But this property was the origin of a strange effect in my Debug executable (In the Release code the excution is going well): it enables the one-trip loop for all loops in the code, so all loops are executed at least once, even when the iteration count is zero. I don't think this has to do with Fortran-66 semantics. Or am I wrong?
It was not a real problem for me, because I disable the option and all loops are executed following the zero-trip rule. But what happens with programs that really needs this option? They behave different for Debug code and Release code.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Appendix B of for_lang.pdf mentions also the change in meaning of EXTERNAL from f66 to f77. If your program has a problem there, it would appear as an unsatisfied intrinsic function reference, caused by the use of EXTERNAL where the more recent standards require INTRINSIC.
We continue to require the -WB option to suppress syntax checking against the (non-standard) f66 idiom
dimension x(1). Running afoul of that gives you a clear compile failure, it doesn't produce bugs.
If your program has any other f66-only syntax, I wouldn't have much confidence in "Enable FORTRAN-66 semantics."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page