[Patch, fortran] PR31213 , PR33888 and PR33998 - formal actual mapping problems

Paul Richard Thomas paul.richard.thomas@gmail.com
Fri Dec 14 09:51:00 GMT 2007


Tobias,

> prints:  2147483647
> (h4 has the bounds:  (1:2147483647).)
> Multiplied by byte that's 2.1 Terabytes!

My first PC had 640kbyte of memory. My present desktop has 4Gbyte; so
~10**4 in 20years, so we should be getting to that level in
~15years.... Well, nobody can claim that gfortran is not forward
looking!
>
>  minval(array)
> Return Value: "If ARRAY has size zero and type integer or real, the
> result has the value of the positive number of the largest magnitude
> supported by the processor for numbers of the type and kind type
> parameter of ARRAY."
>
> Thus gfortran behaves correctly, only the test case needs a computer
> with lots of RAM ;-)

I'll change the bounds in the testcase!

Cheers

Paul



More information about the Fortran mailing list