diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2017-02-24 10:48:38 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2017-02-24 10:48:38 +0000 |
commit | 491527afb8bcf02fc91fbddc66b27a0dc25c2bd1 (patch) | |
tree | 5b0c493558a4f1c75429d65375cd897b7b2660f9 /gcc/tree-ssa-loop-niter.c | |
parent | 0b9cdb9a4011886f0166a648f874f880ac9e026a (diff) | |
download | gcc-491527afb8bcf02fc91fbddc66b27a0dc25c2bd1.zip gcc-491527afb8bcf02fc91fbddc66b27a0dc25c2bd1.tar.gz gcc-491527afb8bcf02fc91fbddc66b27a0dc25c2bd1.tar.bz2 |
utils.c (fold_bit_position): New function.
* gcc-interface/utils.c (fold_bit_position): New function.
(rest_of_record_type_compilation): Call it instead of bit_position to
compute the field position and remove the call to remove_conversions.
(compute_related_constant): Factor out the multiplication in both
operands, if any, and streamline the final test.
From-SVN: r245704
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions