This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32613] [4.2 regression] Different results depending on unnecessary variable declaration
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2007 16:24:34 -0000
- Subject: [Bug fortran/32613] [4.2 regression] Different results depending on unnecessary variable declaration
- References: <bug-32613-14607@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kargl at gcc dot gnu dot org 2007-07-04 16:24 -------
I've compared the output of -fdump-tree-original for 4.2 and trunk, and
the only significant difference is
internal (j)
{
int4 k;
+ int4 i;
logical4 __result_internal;
That is, the implicitly typed 'i' in trunk is not being host associated
with the 'i' in the procedure INTERNAL, so INTERNAL gets a local
variable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32613