[comp.sys.sgi] IRIX 3.3.1 f77 bugs

glennrp@BRL.MIL (Glenn Randers-Pehrson, TBD|WMB) (01/19/91)

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@brl.mil>