summaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2004-03-22 00:40:44 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2004-03-22 00:40:44 +0000
commit1e92bbb90760c6d3a55d9685228cf2e99dd40e8f (patch)
tree7b5c6d97adab6e033ff6faffa54cbc4e7d09046e /gcc/emit-rtl.c
parent9175d40929b58aed64a94ecd1b4b8dcb3642f35b (diff)
downloadgcc-1e92bbb90760c6d3a55d9685228cf2e99dd40e8f.tar.gz
real.h (struct real_value): Use the same type for all bitfields.
* real.h (struct real_value): Use the same type for all bitfields. Rename exp to uexp. (REAL_EXP, SET_REAL_EXP): New accessor macros for uexp. Adjust all uses of exp... * builtins.c: ... here, ... * emit-rtl.c: ... here, and ... * real.c: ... and here. From-SVN: r79802
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 8d8ead16f09..cb6f4cb639c 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -5313,7 +5313,7 @@ init_emit_once (int line_numbers)
REAL_VALUE_FROM_INT (dconstm2, -2, -1, double_mode);
dconsthalf = dconst1;
- dconsthalf.exp--;
+ SET_REAL_EXP (&dconsthalf, REAL_EXP (&dconsthalf) - 1);
real_arithmetic (&dconstthird, RDIV_EXPR, &dconst1, &dconst3);