From 67bfbda18f4e6d0d30ad8f8790f1d0d4653131ed Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 25 May 2020 13:48:57 +0200 Subject: 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. --- gcc/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/ChangeLog') 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 -- cgit v1.2.3