OSDN Git Service

PR tree-optimization/36008
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Apr 2008 16:08:11 +0000 (16:08 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Apr 2008 16:08:11 +0000 (16:08 +0000)
commit5791999fefcf73fcef43d5b590dee1113be5c3af
treeca710a32b2afc2a6652c1ba80891b326e6c26420
parente06f9c34bb68d44431d2d4f55ab9bd5089331b64
PR tree-optimization/36008
* fold-const.c (try_move_mult_to_index): If s == NULL, divide
the original op1, rather than delta by step.

* gcc.c-torture/execute/20080424-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134634 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20080424-1.c [new file with mode: 0644]