[Bug fortran/85750] [7/8/9 Regression] Default initialization of derived type array missing

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Wed Dec 12 21:29:00 GMT 2018


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

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #3 from Harald Anlauf <anlauf at gmx dot de> ---
Looking at the dump-tree and comparing the original code with a
variant with the DT component ptr commented out, one wonders where
the initialization of the function result got lost in the original variant.

Without ptr (either pointer or allocatable), one gets the expected result.


More information about the Gcc-bugs mailing list