https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102111
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to anlauf from comment #3)
> I get a memory corruption on x86_64-pc-linux-gnu when adding a print
> as in comment#1.
>
> valgrind complains about:
>
> Invalid free() / delete / delete[] / realloc()
>
> So I guess it is not (fully) fixed yet.
It's fixed on mainline now.
Cheers
Paul