From: Richard Biener Date: Mon, 25 May 2020 11:48:57 +0000 (+0200) Subject: tree-optimization/95308 - really avoid forward propagating of &TMR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67bfbda18f4e6d0d30ad8f8790f1d0d4653131ed;p=gcc.git 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 PR tree-optimization/95308 * tree-ssa-forwprop.c (pass_forwprop::execute): Generalize test for TARGET_MEM_REFs. * g++.dg/torture/pr95308.C: New testcase. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 150dc096c7a..d5844590274 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-05-25 Richard Biener + + PR tree-optimization/95308 + * tree-ssa-forwprop.c (pass_forwprop::execute): Generalize + test for TARGET_MEM_REFs. + 2020-05-25 Richard Biener PR tree-optimization/95295 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cba153f166e..dfb92ec5748 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-05-25 Richard Biener + + PR tree-optimization/95308 + * g++.dg/torture/pr95308.C: New testcase. + 2020-05-25 Richard Biener PR tree-optimization/95295