This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32393] gfortran - incorrect run time results
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2007 17:04:07 -0000
- Subject: [Bug fortran/32393] gfortran - incorrect run time results
- References: <bug-32393-10129@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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