This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32393] gfortran - incorrect run time results



------- Comment #19 from dominiq at lps dot ens dot fr  2007-06-21 17:04 -------
> Subscript 1 of IA (value 2) is out of range (1:1)

I don't think it really matter as

      dimension      ia(1),a(20)

is the old style for passing arrays. However there are many uninitialized
variables:

      call vr2 ( intp, ivg, cc, ns, it)

as far as I can tell none of them are initialized.  On ppc-darwin7 latest 4.3
snapshot the new code
gives the expected result as does xlf, but not g95.  Tracing what is wrong with
this code explains why so many people don't like fortran!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32393


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]