Commit 9d0862bf by Richard Biener Committed by Richard Biener

re PR tree-optimization/66823 (-ftree-loop-if-convert-stores miscompiles…

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
parent 3baeecac
2015-07-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/66823
* tree-if-conv.c (memrefs_read_or_written_unconditionally): Fix
inverted predicate.
2015-07-09 Steve Ellcey <sellcey@imgtec.com>
* config/mips/mti-linux.h (MIPS_SYSVERSION_SPEC): Update
......
2015-07-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/66823
* gcc.dg/vect/pr61194.c: Remove -ftree-loop-if-convert-stores
which should not be necessary. XFAIL.
2015-07-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/64848
......
/* { dg-require-effective-target vect_cond_mixed } */
/* { dg-additional-options "-ftree-loop-if-convert-stores" } */
#include "tree-vect.h"
......@@ -39,4 +38,4 @@ int main()
return 0;
}
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
......@@ -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)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment