]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/37056 (ICE in build2_stat, at tree.c:3257)
authorRichard Guenther <rguenther@suse.de>
Fri, 8 Aug 2008 11:30:13 +0000 (11:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 8 Aug 2008 11:30:13 +0000 (11:30 +0000)
commit0f336c35d5317473e1d5536ef57573f714323ec6
treeab403f41f50caaf2a0fd7966b13ae7b058ab89d6
parentb2077fd226f648da2135c9e4b5ba536a66d50d14
re PR tree-optimization/37056 (ICE in build2_stat, at tree.c:3257)

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.

From-SVN: r138865
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