diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-06-05 14:14:40 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2019-06-05 14:14:40 +0000 |
commit | c613138b6ce48448fa7f62dd03513d28919361d6 (patch) | |
tree | 27268ad59c88a62106450ec1019ad35b0af6396d /gcc/objc/objc-encoding.c | |
parent | 2098f8ec2f82310104d1e3eb0a3ac0003e78600a (diff) | |
download | gcc-c613138b6ce48448fa7f62dd03513d28919361d6.zip gcc-c613138b6ce48448fa7f62dd03513d28919361d6.tar.gz gcc-c613138b6ce48448fa7f62dd03513d28919361d6.tar.bz2 |
fold-const.c (extract_muldiv_1): Do not distribute a multiplication by a power-of-two value.
* fold-const.c (extract_muldiv_1) <PLUS_EXPR>: Do not distribute a
multiplication by a power-of-two value.
(fold_plusminus_mult_expr): Use pow2p_hwi to spot a power-of-two value
and turn the modulo operation into a masking operation.
From-SVN: r271963
Diffstat (limited to 'gcc/objc/objc-encoding.c')
0 files changed, 0 insertions, 0 deletions