OSDN Git Service

2008-03-16 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Mar 2008 15:45:09 +0000 (15:45 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Mar 2008 15:45:09 +0000 (15:45 +0000)
commit250807797b9faaf6acfb083e2ef17d7fca879447
tree31a2feec16994e9a97405adbceee111bf59d80b5
parent7290f0904907f37ad323a13d9426e07b449513dc
2008-03-16  Richard Guenther  <rguenther@suse.de>

PR middle-end/35607
* tree-ssa-loop-niter.c (expand_simple_operations): Do not
expand TREE_INVARIANT operations that are not gimple invariant.

* gcc.c-torture/compile/pr35607.c: New testcase.
* gcc.dg/tree-ssa/loop-19.c: Use -O2 to avoid vectorization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133273 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr35607.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/loop-19.c
gcc/tree-ssa-loop-niter.c