IRIX 3.3.1 f77 bugs

Glenn Randers-Pehrson, TBD|WMB glennrp at BRL.MIL
Sat Jan 19 05:49:54 AEST 1991


A couple of people have pointed out that my second "bug" was a case of
illegal code that exceeded array dimensions.

This is called "overindexing" when you do it on purpose, within a common
block.  Many compilers (including IRIX 3.1F) allow overindexing
and produce the expected results.

I had hunted fruitlessly through the documentation to find out whether
or not overindexing would work under IRIX 3.2 or 3.3.  How about putting
a line in the documention (Fortran 77 reference manual, section 2.8.5,
or Fortran 77 Programmer's Guide, section 2.1.7) to the effect that
this coding practice is illegal and won't always work...

...Glenn Randers-Pehrson <glennrp at brl.mil>



More information about the Comp.sys.sgi mailing list