[Bug fortran/81735] [6/7/8 Regression] double free or corruption (fasttop) error (SIGABRT) with character(:) and custom return type with allocatable
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 3 17:42:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81735
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Paul Thomas from comment #6)
> (In reply to Dominique d'Humieres from comment #5)
> > > I still see "pointer being freed was not allocated" with r233625 reverted.
> >
> > But it is gone if I revert r233589.
>
> I see it on 6- and 7-branches but not on the current trunk
>
> It is on my todo list.
>
> Paul
The difference is that 'rt' is freed twice in 6- and 7-branches and only once
in 8-branch. I remember effecting a patch to do this. I just need to remind
myself which one it was.
Paul
More information about the Gcc-bugs
mailing list