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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:67bfbda18f4e6d0d30ad8f8790f1d0d4653131ed

commit r11-610-g67bfbda18f4e6d0d30ad8f8790f1d0d4653131ed
Author: Richard Biener <rguent...@suse.de>
Date:   Mon May 25 13:48:57 2020 +0200

    tree-optimization/95308 - really avoid forward propagating of &TMR

    This fixes a hole that still allowed forwarding of TARGET_MEM_REF
    addresses.

    2020-05-25  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/95308
            * tree-ssa-forwprop.c (pass_forwprop::execute): Generalize
            test for TARGET_MEM_REFs.

            * g++.dg/torture/pr95308.C: New testcase.

Reply via email to