]> git.ipfire.org Git - thirdparty/gcc.git/commit
* tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Do the offset
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 May 2012 18:57:23 +0000 (18:57 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 May 2012 18:57:23 +0000 (18:57 +0000)
commit96c3acd0bb2761fd13b49de3469db1fc5d354991
tree1e60a64abff9d4b063851acc1b758950b2694142
parent254aacff3837b5c4817b1aef03dfa0b4d53ae5eb
* tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Do the offset
computation using the precision of the index type.
* gimple-fold.c (fold_const_aggregate_ref_1) <ARRAY_REF>: Likewise.
(fold_array_ctor_reference): Do index computations in the index type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187268 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/tree-dfa.c