This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r229580 - in /trunk/gcc: ChangeLog fixed-value.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 30 Oct 2015 13:44:01 -0000
- Subject: r229580 - in /trunk/gcc: ChangeLog fixed-value.c
Author: rsandifo
Date: Fri Oct 30 13:44:01 2015
New Revision: 229580
URL: https://gcc.gnu.org/viewcvs?rev=229580&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fixed-value.c