[Bug middle-end/89303] [7 Regression] memory leak with shared_ptr and enable_shared_from_this
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 11:52:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303
--- Comment #32 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:51:36 2019
New Revision: 275109
URL: https://gcc.gnu.org/viewcvs?rev=275109&root=gcc&view=rev
Log:
Backported from mainline
2019-02-13 Jakub Jelinek <jakub@redhat.com>
PR middle-end/89303
* tree-ssa-structalias.c (set_uids_in_ptset): Or in vi->is_heap_var
into pt->vars_contains_escaped_heap instead of setting
pt->vars_contains_escaped_heap to it.
2019-02-13 Jonathan Wakely <jwakely@redhat.com>
Jakub Jelinek <jakub@redhat.com>
PR middle-end/89303
* g++.dg/torture/pr89303.C: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/torture/pr89303.C
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/tree-ssa-structalias.c
More information about the Gcc-bugs
mailing list