From f775c276fd1f89cc9d561db0890a356e7d6e50b8 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Thu, 1 Mar 2012 16:22:09 +0000 Subject: soft-fp: Support using struct layout attributes on bit-fields. --- soft-fp/double.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'soft-fp/double.h') diff --git a/soft-fp/double.h b/soft-fp/double.h index e247e6ebb3..5bad49c14d 100644 --- a/soft-fp/double.h +++ b/soft-fp/double.h @@ -1,6 +1,6 @@ /* Software floating-point emulation. Definitions for IEEE Double Precision - Copyright (C) 1997, 1998, 1999, 2006, 2007, 2008, 2009 + Copyright (C) 1997, 1998, 1999, 2006, 2007, 2008, 2009, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com), @@ -67,7 +67,7 @@ typedef float DFtype __attribute__((mode(DF))); union _FP_UNION_D { DFtype flt; - struct { + struct _FP_STRUCT_LAYOUT { #if __BYTE_ORDER == __BIG_ENDIAN unsigned sign : 1; unsigned exp : _FP_EXPBITS_D; @@ -166,7 +166,7 @@ union _FP_UNION_D union _FP_UNION_D { DFtype flt; - struct { + struct _FP_STRUCT_LAYOUT { #if __BYTE_ORDER == __BIG_ENDIAN unsigned sign : 1; unsigned exp : _FP_EXPBITS_D; -- cgit v1.2.3