This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30029] [4.1 only] variable not initialed shows non zero value
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2006 22:57:42 -0000
- Subject: [Bug fortran/30029] [4.1 only] variable not initialed shows non zero value
- References: <bug-30029-13659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tkoenig at gcc dot gnu dot org 2006-11-30 22:57 -------
bb is used uninitialized in this program, so
the program can do anything (including
starting world war III). Assuming that
non-initialized variables are set to zero
was part of a lot of legacy codes. g77
supported -finit-local-zero to emulate this
behavior, which gfortran doesn't yet do
(see PR 20411).
Resolving as a duplicate of PR 20411.
*** This bug has been marked as a duplicate of 20441 ***
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30029