This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]