OSDN Git Service

2010-03-29 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Mar 2010 15:20:07 +0000 (15:20 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:15:12 +0000 (14:15 +0900)
commit2ab0b68acb0190f879b9068327c4e2c3f149f3ee
tree5f568f4c770dbe9825e055dd0d4e89c09062e1cb
parentd6d28abce5618016af7e77f64444d593ac87cd80
2010-03-29  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43560
* tree-ssa-loop-im.c (ref_always_accessed_p): Add store_p
parameter.
(can_sm_ref_p): Treat stores to readonly locations as
trapping.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157799 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog