From 06029c208409b50035095c86d4d73df5f9628176 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 20 Mar 2007 12:10:36 +0000 Subject: [BZ #2831] * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac bit-fields. * soft-fp/extended.h (_FP_UNION_E): Likewise. [BZ #2831] * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac bit-fields. 2007-03-20 Jakub Jelinek * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac bit-fields. * soft-fp/extended.h (_FP_UNION_E): Likewise. 2006-06-07 Joseph Myers [BZ #2831] * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac bit-fields. --- soft-fp/quad.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'soft-fp/quad.h') diff --git a/soft-fp/quad.h b/soft-fp/quad.h index d7840ff066..c22e944029 100644 --- a/soft-fp/quad.h +++ b/soft-fp/quad.h @@ -1,6 +1,6 @@ /* Software floating-point emulation. Definitions for IEEE Quad Precision. - Copyright (C) 1997,1998,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1998,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com), Jakub Jelinek (jj@ultra.linux.cz), @@ -176,15 +176,15 @@ union _FP_UNION_Q } longs; struct { #if __BYTE_ORDER == __BIG_ENDIAN - unsigned sign : 1; - unsigned exp : _FP_EXPBITS_Q; - unsigned long frac1 : _FP_FRACBITS_Q-(_FP_IMPLBIT_Q != 0)-_FP_W_TYPE_SIZE; - unsigned long frac0 : _FP_W_TYPE_SIZE; + unsigned sign : 1; + unsigned exp : _FP_EXPBITS_Q; + _FP_W_TYPE frac1 : _FP_FRACBITS_Q - (_FP_IMPLBIT_Q != 0) - _FP_W_TYPE_SIZE; + _FP_W_TYPE frac0 : _FP_W_TYPE_SIZE; #else - unsigned long frac0 : _FP_W_TYPE_SIZE; - unsigned long frac1 : _FP_FRACBITS_Q-(_FP_IMPLBIT_Q != 0)-_FP_W_TYPE_SIZE; - unsigned exp : _FP_EXPBITS_Q; - unsigned sign : 1; + _FP_W_TYPE frac0 : _FP_W_TYPE_SIZE; + _FP_W_TYPE frac1 : _FP_FRACBITS_Q - (_FP_IMPLBIT_Q != 0) - _FP_W_TYPE_SIZE; + unsigned exp : _FP_EXPBITS_Q; + unsigned sign : 1; #endif } bits; }; -- cgit v1.2.1