OSDN Git Service

2012-04-13 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Apr 2012 12:27:02 +0000 (12:27 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Apr 2012 12:27:02 +0000 (12:27 +0000)
commit121f6ce476947580f9959195a3ee2903f60db539
treebc81f36c75ba7e061ce0afc8ff9f881a4a2971d5
parent46abe4134fed5ebcefea2b4a7f692351fc4ea76d
2012-04-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52969
* tree-if-conv.c (predicate_mem_writes): Properly gimplify
the condition for the COND_EXPR and handle predicate negation
by swapping the COND_EXPR arms.

* gcc.dg/torture/pr52969.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186417 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52969.c [new file with mode: 0644]
gcc/tree-if-conv.c