2008-08-08 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Aug 2008 11:30:13 +0000 (11:30 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Aug 2008 11:30:13 +0000 (11:30 +0000)
commitb87477876194a77fd92bf1535bd9a690cd33067f
treeab403f41f50caaf2a0fd7966b13ae7b058ab89d6
parentf08b701cb43c651acbd9401ac92b8ea331dbd00e
2008-08-08  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/37056
* gimple.h (gimple_assign_rhs_class): New helper function.
* tree-ssa-loop-niter.c (get_val_for): Fix tuplification, handle
unary operations properly.

* gcc.c-torture/compile/pr37056.c: New testcase.

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