]> git.ipfire.org Git - thirdparty/gcc.git/commit
utils.c (scale_by_factor_of): New function.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 19 Oct 2013 11:11:03 +0000 (11:11 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 19 Oct 2013 11:11:03 +0000 (11:11 +0000)
commit5c475ba98b74a9831f6c05fb39c816d406d7daad
tree62c84e425fd23259af0ec500f46a2b68e6c50a3c
parent457f72ac38955335c4b3f20e353bc9891681d805
utils.c (scale_by_factor_of): New function.

* gcc-interface/utils.c (scale_by_factor_of): New function.
(rest_of_record_type_compilation): Use scale_by_factor_of in order to
scale the original offset for both rounding cases; in the second case,
take into accout the addend to compute the alignment.  Tidy up.

From-SVN: r203852
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c