This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33954] gfortran: incorrect output for array of dynamic bounds
- From: "hailijuan at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2007 05:46:22 -0000
- Subject: [Bug fortran/33954] gfortran: incorrect output for array of dynamic bounds
- References: <bug-33954-15289@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from hailijuan at gmail dot com 2007-10-31 05:46 -------
Subject: Re: gfortran: incorrect output for array of dynamic bounds
exactly! but why gfortran does that? is that permitted by fortran
standards? thanks a lot.
31 Oct 2007 04:01:08 -0000, jvdelisle at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org>:
>
>
> ------- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-10-31 04:01 -------
> gfortran does not initialize bigarray for you, so you get what is in memory
> there at the moment.
>
> If I set bigarray = 0. I get:
>
> 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000
> 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000
> 0.0000000 0.0000000 0.0000000 0.0000000 6.0000000
> 0.0000000
>
> With gfortran 4.2, 4.3, and Intel ifort and Sun F95
>
> Is this what you expect to see?
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33954
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33954