]> git.ipfire.org Git - thirdparty/gcc.git/commit
poly_int: get_object_alignment_2
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Dec 2017 12:56:32 +0000 (12:56 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Dec 2017 12:56:32 +0000 (12:56 +0000)
commiteaa09bfd8a45b524b8e8f7ddf15ff3b727c1aa21
tree0fa30a79b53135aaf28e24184ec7b99dcb0c15f9
parent73bf92b3a6e6723e66e5c7823ef73a35e1798125
poly_int: get_object_alignment_2

This patch makes get_object_alignment_2 track polynomial offsets
and sizes.  The real work is done by get_inner_reference, but we
then need to handle the alignment correctly.

2017-12-20  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* builtins.c (get_object_alignment_2): Track polynomial offsets
and sizes.  Update the alignment handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255893 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c