[Bug fortran/43331] Cray pointers generate bogus IL for the middle-end
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 17 10:03:00 GMT 2010
------- Comment #6 from burnus at gcc dot gnu dot org 2010-03-17 10:03 -------
FIXED on the trunk (4.5).
Richard: Thanks for the clear bug report! And for making the middle-end smarter
with regards to bonds.
Actually, will this middle-end change cause problems for inlining such
old-style Fortran code as below?
real A(100)
call sub(A(1), 100) ! Correct syntax: "call sub(A, 100)"
subroutine sub(x, n)
integer n
real x(*) ! Or: "real x(n)" to be slightly more modern
x(n) = 5
(I think the code was never valid but one can find it quite often in old code
that it passes the first array element to a procedure, which expects an array.)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43331
More information about the Gcc-bugs
mailing list