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 00:38:30 +0000 (09:38 +0900)
commit4ad9b22f44b8c75090ba5dd151916e2b937aefde
tree0e97545d77116aedc9d498a64177cee84daea1ec
parent89b4b3271dfa3120359fffd4c2aa469c11b807b6
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