fold-const.c (try_move_mult_to_index): Remove redundant type argument.
authorRichard Guenther <rguenth@gcc.gnu.org>
Wed, 9 Feb 2005 18:15:40 +0000 (18:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 9 Feb 2005 18:15:40 +0000 (18:15 +0000)
commit0c6c135bb38bbf0f03087aa29a7e517319b4c241
tree5c71fda4c499bb7084c78f6b142edb8a17c5e2f5
parent8f2bf9f18d96cfdda037ee14619ff866bc021e73
fold-const.c (try_move_mult_to_index): Remove redundant type argument.

2005-02-09  Richard Guenther  <rguenth@gcc.gnu.org>

* fold-const.c (try_move_mult_to_index): Remove redundant
type argument.  Create ADDR_EXPR with correct type.
(fold): Update callers of try_move_mult_to_index.  Convert
result to the appropriate type.

* g++.dg/tree-ssa/tmmti.C: New testcase.

From-SVN: r94767
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/tmmti.C [new file with mode: 0644]