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

2007-07-04 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-07-04 17:44 --- This is my doing - that makes two this week. *groan* The regression is caused by the patch for pr31204, which goes back to April. For some reason that I do not yet see, the variable i in the statement function is bei

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

2007-07-04 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2007-07-04 16:27 --- Add wrong-code keyword. -- kargl at gcc dot gnu dot org changed: What|Removed |Added Keywo

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

2007-07-04 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-07-04 16:25 --- I thought I had confirmed this as a bug. Let's try again. -- kargl at gcc dot gnu dot org changed: What|Removed |Added --

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

2007-07-04 Thread kargl 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 tr

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

2007-07-03 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-07-03 16:24 --- This a regression with respect to 4.2. The problem is caused by the implicitly typed 'i' in the statement function 'lit(i) = line(i:i)' -- kargl at gcc dot gnu dot org changed: What|Removed