Re: Question about out-of-bounds warning



Sebastian Hanigk wrote:
Thomas Koenig <Thomas.Koenig@xxxxxxxxx> writes:

program main
integer :: i(2)
i (0:-1) = 1
end

one difference occurs when I try to print "i": the Sun binary just print
zeroes while the gfortran binary prints random integers.

That's nonstandard, as you are attempting to access a variable that has not been defined. Insert standard hyperbolic comment about the system being entitled to format your hard drive or start World War III.
.