[Bug fortran/49590] ENTRY: Reject combining USE associated variable with RESULT variable
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 23 15:51:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49590
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-23 15:50:20 UTC ---
(In reply to comment #1)
> The part you quote concerns "statement functions". There are
> no statement functions in your example.
Well spotted. The problem also occurs in the statement function case - at least
when the entry function does not set a return value - and -Wall also does not
warn in that case ...
FUNCTION f()
x(i) = i
f = x(4)
ENTRY e() RESULT(x)
! x = 3
END FUNCTION
More information about the Gcc-bugs
mailing list