[Bug fortran/42112] overloaded function with allocatable result problem
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 22 12:04:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42112
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |janus at gcc dot gnu.org
Resolution|--- |FIXED
Target Milestone|--- |4.7.4
Known to fail| |4.7.4, 4.8.4
--- Comment #11 from janus at gcc dot gnu.org ---
> (In reply to Dominique d'Humieres from comment #9)
> > This seems to have been fixed at least for 4.8.4.
Confirmed. I don't get any runtime error with 4.7.4 either.
(In reply to Mikael Morin from comment #10)
> Hum, if one changes the comment #0 to output the value of p, it outputs 0
> instead of 2
That's correct, because the result 'i' of the function 'f' is not being set
anywhere.
Obvious this issue has been fixed. Closing.
More information about the Gcc-bugs
mailing list