Hi Bernhard,
gcc/fortran/ChangeLog:* resolve.c (resolve_fl_procedure): Initialize allocatable_or_pointer.
Looking at the code, it is clear that this is a false positive, or a false maybe, but the semantics of C/C++ may well indicate that sym->result could change, although it clearly does not. So, OK. Thanks for the patch! Best regards Thomas