re PR tree-optimization/42730 (ice: verify_stmts failed)
authorRichard Guenther <rguenther@suse.de>
Wed, 13 Jan 2010 22:21:25 +0000 (22:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 13 Jan 2010 22:21:25 +0000 (22:21 +0000)
commit5db959b6480186de1df9242f5b91d5e7fa75c30a
tree359c4896609ee7f80473c97fa28f6fc3f69ed247
parent30c73d1a3664f84897116ceb7a81cba553c8d52f
re PR tree-optimization/42730 (ice: verify_stmts failed)

2010-01-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42730
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for
offset zero.

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

From-SVN: r155872
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr42730.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c