]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-dfa.c (get_ref_base_and_extent): Do the offset computation using the precision...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 7 May 2012 18:57:23 +0000 (18:57 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 7 May 2012 18:57:23 +0000 (18:57 +0000)
commitb48e22b2bd028164829281f676a1e39ede8c3910
tree1e60a64abff9d4b063851acc1b758950b2694142
parent62beea506bd1a5c688e7b88457408411c8272635
tree-dfa.c (get_ref_base_and_extent): Do the offset computation using the precision of the index type.

* 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.

From-SVN: r187268
gcc/ChangeLog
gcc/gimple-fold.c
gcc/tree-dfa.c