[Bug fortran/40167] wrong initialization of local variable in a recursive subroutine
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 18 04:46:00 GMT 2009
------- Comment #1 from pault at gcc dot gnu dot org 2009-05-18 04:46 -------
(In reply to comment #0)
> In the following program, env%n should be equal to zero when entering the
> routine "titi" but one gets the output :
>
> 10 0
> 5 10
>
> instead of
>
> 10 0
> 5 0
I get the correct output with:
GNU Fortran (GCC) 4.5.0 20090516 (experimental), 4.4.1 20090510 (prerelease)
and 4.3.4 20090404 (prerelease)
This has evidently been fixed :-)
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40167
More information about the Gcc-bugs
mailing list