[Bug fortran/61830] [4.9/5/6 regression] Memory leak with assignment to array of derived types with allocatable components

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 7 20:59:00 GMT 2015


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

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikael at gcc dot gnu.org
            Summary|Memory leak with assignment |[4.9/5/6 regression] Memory
                   |to array of derived types   |leak with assignment to
                   |with allocatable components |array of derived types with
                   |                            |allocatable components

--- Comment #4 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #3)
> Note that the tests give an ICE with 4.9.2 and trunk (5.0):
> 
>  end module foo_vector_field_mod
>  1
> internal compiler error: in gfc_conv_descriptor_data_get, at
> fortran/trans-array.c:146

Marking as regression.
The original problem is a memory leak, the regression is the ICE.



More information about the Gcc-bugs mailing list