From 53596fba5b42a2a8ce16a4472ab47af1e5a0cda1 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 21 Apr 1994 15:54:06 -0400 Subject: [PATCH] Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1. From-SVN: r7126 --- gcc/emit-rtl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 789567fc154..aa85898615a 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -692,14 +692,14 @@ gen_lowpart_common (mode, x) i = INTVAL (x); r = REAL_VALUE_FROM_TARGET_SINGLE (i); - return immed_real_const_1 (r, mode); + return CONST_DOUBLE_FROM_REAL_VALUE (r, mode); } #else { union {HOST_WIDE_INT i; float d; } u; u.i = INTVAL (x); - return immed_real_const_1 (u.d, mode); + return CONST_DOUBLE_FROM_REAL_VALUE (u.d, mode); } #endif else if (((HOST_FLOAT_FORMAT == TARGET_FLOAT_FORMAT @@ -730,7 +730,7 @@ gen_lowpart_common (mode, x) i[0] = low, i[1] = high; r = REAL_VALUE_FROM_TARGET_DOUBLE (i); - return immed_real_const_1 (r, mode); + return CONST_DOUBLE_FROM_REAL_VALUE (r, mode); } #else { @@ -748,7 +748,7 @@ gen_lowpart_common (mode, x) u.i[0] = low, u.i[1] = high; #endif - return immed_real_const_1 (u.d, mode); + return CONST_DOUBLE_FROM_REAL_VALUE (u.d, mode); } #endif /* Similarly, if this is converting a floating-point value into a