]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR other/54701 (double_int conversion breaks avr build)
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 25 Sep 2012 12:10:39 +0000 (12:10 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Tue, 25 Sep 2012 12:10:39 +0000 (12:10 +0000)
PR other/54701
* config/avr/avr.c (avr_map_decompose): Use double_int::from_uhwi
instead of uhwi_to_double_int.

From-SVN: r191701

gcc/ChangeLog
gcc/config/avr/avr.c

index 2bec49a6a1422a4e55f8e9e3498b6261cea0b277..c50d18243040231322ed64f8281c171cadedfc50 100644 (file)
@@ -1,3 +1,9 @@
+2012-09-25  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR other/54701
+       * config/avr/avr.c (avr_map_decompose): Use double_int::from_uhwi
+       instead of uhwi_to_double_int.
+
 2012-09-25  Richard Guenther  <rguenther@suse.de>
 
        * lto-symtab.c (lto_symtab_merge_decls_1): Properly merge
index ea36a54fcff32d75a0a0bf3c9745610a738c6f3a..78fb3127fd86bf27c5aa5798be9b5cf9a9b0d43f 100644 (file)
@@ -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;