[Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 24 09:35:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
The problem is with the subroutine, not with the call from
the main program.

If you split the module and main program into a separate file
and compile the modlue with r264951 (a random version which works)
and the mani program with r265171, the program works.

The other way around, it segfaults.


More information about the Gcc-bugs mailing list