OSDN Git Service

2008-05-15 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 May 2008 08:37:22 +0000 (08:37 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 May 2008 08:37:22 +0000 (08:37 +0000)
commita973ed421c593521a7b20b9dee2ad60ab8876ba7
tree99049872595c742fb546abf5ae46e4c0ed30cf52
parent9f41aa1d70eba192b87cfebdb6271323c30d6d72
2008-05-15  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/36009
PR tree-optimization/36204
* tree-ssa-loop-im.c (tree-ssa-propagate.h): Include.
(determine_invariantness_stmt): Record the loop a store is
always executed in.
* Makefile.in (tree-ssa-loop-im.o): Add tree-ssa-propagate.h
dependency.

* gcc.dg/tree-ssa/ssa-lim-5.c: New testcase.
* gcc.dg/tree-ssa/ssa-lim-6.c: Likewise..

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135330 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-6.c [new file with mode: 0644]
gcc/tree-ssa-loop-im.c