[Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 12 17:37:00 GMT 2019


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
          Component|rtl-optimization            |middle-end
   Target Milestone|---                         |8.3

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Needs more investigation (ignore my previous comment - main() is not really
relevant here).  This is a very recent regression on the branch.

You can do -fdisable-tree-ealias and still get the failure but less early
IL changes when comparing to -fno-tree-pta.


More information about the Gcc-bugs mailing list