From: Richard Biener Date: Fri, 3 Mar 2017 11:32:38 +0000 (+0000) Subject: fixed-value.c (fixed_from_string): Restore use of elt (1) in place of uhigh (). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98fa4d3c024ffa9f808bda8e41d0d3736584146c;p=gcc.git fixed-value.c (fixed_from_string): Restore use of elt (1) in place of uhigh (). 2017-03-03 Richard Biener * fixed-value.c (fixed_from_string): Restore use of elt (1) in place of uhigh (). (fixed_convert_from_real): Likewise. From-SVN: r245867 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c99d7edb8e9..5db500e3350 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-03-03 Richard Biener + + * fixed-value.c (fixed_from_string): Restore use of elt (1) + in place of uhigh (). + (fixed_convert_from_real): Likewise. + 2017-03-03 Uros Bizjak PR target/79514 diff --git a/gcc/fixed-value.c b/gcc/fixed-value.c index d9489a3a576..3cd44dd74fc 100644 --- a/gcc/fixed-value.c +++ b/gcc/fixed-value.c @@ -131,7 +131,7 @@ fixed_from_string (FIXED_VALUE_TYPE *f, const char *str, machine_mode mode) wide_int w = real_to_integer (&fixed_value, &fail, GET_MODE_PRECISION (mode)); f->data.low = w.ulow (); - f->data.high = w.uhigh (); + f->data.high = w.elt (1); if (temp == FIXED_MAX_EPS && ALL_FRACT_MODE_P (f->mode)) { @@ -1050,7 +1050,7 @@ fixed_convert_from_real (FIXED_VALUE_TYPE *f, machine_mode mode, wide_int w = real_to_integer (&fixed_value, &fail, GET_MODE_PRECISION (mode)); f->data.low = w.ulow (); - f->data.high = w.uhigh (); + f->data.high = w.elt (1); temp = check_real_for_fixed_mode (&real_value, mode); if (temp == FIXED_UNDERFLOW) /* Minimum. */ {