diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2012-09-25 12:10:39 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2012-09-25 12:10:39 +0000 |
commit | 915efd1fc987429382050fd69bf040229b38c9a5 (patch) | |
tree | 685e114f8f98bc142fdc9452c5ba595fc5f5f7e9 /gcc/config | |
parent | 0237949a0fb9ceddec550116f057182592b8d74a (diff) | |
download | gcc-915efd1fc987429382050fd69bf040229b38c9a5.zip gcc-915efd1fc987429382050fd69bf040229b38c9a5.tar.gz gcc-915efd1fc987429382050fd69bf040229b38c9a5.tar.bz2 |
re PR other/54701 (double_int conversion breaks avr build)
PR other/54701
* config/avr/avr.c (avr_map_decompose): Use double_int::from_uhwi
instead of uhwi_to_double_int.
From-SVN: r191701
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/avr/avr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index ea36a54..78fb312 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -10952,7 +10952,7 @@ avr_map_decompose (double_int f, const avr_map_op_t *g, bool val_const_p) int i; bool val_used_p = 0 != avr_map_metric (f, MAP_MASK_PREIMAGE_F); avr_map_op_t f_ginv = *g; - double_int ginv = uhwi_to_double_int (g->ginv); + double_int ginv = double_int::from_uhwi (g->ginv); f_ginv.cost = -1; |