[Bug fortran/15620] Statement functions and optimization cause IC
pbrook at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 24 02:02:00 GMT 2004
------- Additional Comments From pbrook at gcc dot gnu dot org 2004-05-23 21:52 -------
We have much deeper problems.
function foo (x)
integer z, y, foo, x
bar(Z) = Z*z
z = 42
t = bar(x)
foo = t + z
END function
program prog
integer foo
if (foo(1) .ne. 43) call abort
end program
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15620
More information about the Gcc-bugs
mailing list