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