This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32613] [4.2 regression] Different results depending on unnecessary variable declaration



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]