diff options
author | Richard Biener <rguenther@suse.de> | 2015-07-10 07:53:06 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-07-10 07:53:06 +0000 |
commit | 9d0862bf58535670c144a264d3c567f74cbf1565 (patch) | |
tree | aa3837c7898b7d28284a981cb9c95e87efffa6cf /gcc/tree-if-conv.c | |
parent | 3baeecac5fbccd8f32e0a2938290693aa18264ac (diff) | |
download | gcc-9d0862bf58535670c144a264d3c567f74cbf1565.zip gcc-9d0862bf58535670c144a264d3c567f74cbf1565.tar.gz gcc-9d0862bf58535670c144a264d3c567f74cbf1565.tar.bz2 |
re PR tree-optimization/66823 (-ftree-loop-if-convert-stores miscompiles gfortran.dg/elemental_optional_args_3.f90)
2015-07-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/66823
* tree-if-conv.c (memrefs_read_or_written_unconditionally): Fix
inverted predicate.
* gcc.dg/vect/pr61194.c: Remove -ftree-loop-if-convert-stores
which should not be necessary. XFAIL.
From-SVN: r225652
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r-- | gcc/tree-if-conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 93d30ef..ef2612c 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -642,7 +642,7 @@ memrefs_read_or_written_unconditionally (gimple stmt, || TREE_CODE (ref_base_b) == REALPART_EXPR) ref_base_b = TREE_OPERAND (ref_base_b, 0); - if (!operand_equal_p (ref_base_a, ref_base_b, 0)) + if (operand_equal_p (ref_base_a, ref_base_b, 0)) { tree cb = bb_predicate (gimple_bb (DR_STMT (b))); |