[Bug fortran/61831] [4.9/ 5 Regression] runtime error: pointer being freed was not allocated

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 23 17:52:00 GMT 2015


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

--- Comment #40 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Mikael Morin from comment #39)
> A function will do a deep copy, so I think the only problematic cases are
> EXPR_ARRAY, and maybe EXPR_STRUCTURE.

EXPR_STRUCTURE deep-copy variable components, and simple-copy non-variables.



More information about the Gcc-bugs mailing list