diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-10-30 13:44:01 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-10-30 13:44:01 +0000 |
commit | 4ff7defd046ca231a35c93b4000962b37ccad31c (patch) | |
tree | a3a5d0470a7d4cb16735b3d808f30ab1f1695643 /gcc/real.h | |
parent | d5e09aa0aaec24109949afabb20b813e9096905f (diff) | |
download | gcc-4ff7defd046ca231a35c93b4000962b37ccad31c.zip gcc-4ff7defd046ca231a35c93b4000962b37ccad31c.tar.gz gcc-4ff7defd046ca231a35c93b4000962b37ccad31c.tar.bz2 |
Fix real_2expN mode arguments in fixed-value.c
fixed-value.c was passing a fixed-point mode to the floating-point
real_2expN routine. That didn't cause a problem in practice because
all real_2expN did was check for decimal float modes, but it triggered
a failure with an upcoming patch.
Tested on x86_64-linux-gnu, arm-linux-gnueabi and aarch64-linux-gnu.
gcc/
* fixed-value.c (check_real_for_fixed_mode, fixed_from_string)
(fixed_to_decimal, fixed_convert_from_real)
(real_convert_from_fixed): Fix mode arguments to real_2expN.
From-SVN: r229580
Diffstat (limited to 'gcc/real.h')
0 files changed, 0 insertions, 0 deletions