diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2013-10-19 11:11:03 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2013-10-19 11:11:03 +0000 |
commit | 5c475ba98b74a9831f6c05fb39c816d406d7daad (patch) | |
tree | 62c84e425fd23259af0ec500f46a2b68e6c50a3c /gcc/errors.c | |
parent | 457f72ac38955335c4b3f20e353bc9891681d805 (diff) | |
download | gcc-5c475ba98b74a9831f6c05fb39c816d406d7daad.zip gcc-5c475ba98b74a9831f6c05fb39c816d406d7daad.tar.gz gcc-5c475ba98b74a9831f6c05fb39c816d406d7daad.tar.bz2 |
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
Diffstat (limited to 'gcc/errors.c')
0 files changed, 0 insertions, 0 deletions