[Bug fortran/85537] [7/8/9 Regression] Invalid memory reference at runtime when calling subroutine through procedure pointer
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 18 10:32:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85537
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu.org
--- Comment #4 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #2)
> The test works for me with 4.8.5. The change occurred between revisions
> r2370089 (2016-06-04, OK) and r237310 + one patch (2016-06-10, wrong code).
I see runtime segfaults with every gfortran version that I tried, starting from
4.6.
4.4 does not compile the example due to the proc-ptr init.
More information about the Gcc-bugs
mailing list