about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--soft-fp/double.h4
-rw-r--r--soft-fp/extended.h2
-rw-r--r--soft-fp/half.h2
-rw-r--r--soft-fp/quad.h2
-rw-r--r--soft-fp/single.h2
6 files changed, 15 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 7923327a9d..2d9734a688 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-02-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* soft-fp/double.h (union _FP_UNION_D): Do not use attribute
+	packed on bits.
+	* soft-fp/extended.h (union _FP_UNION_E): Likewise.
+	* soft-fp/half.h (union _FP_UNION_H): Likewise.
+	* soft-fp/quad.h (union _FP_UNION_Q): Likewise.
+	* soft-fp/single.h (union _FP_UNION_S): Likewise.
+
 2018-02-01  Carlos O'Donell  <carlos@redhat.com>
 	    Ramin Seyed-Moussavi  <lordrasmus@gmail.com>
 	    Joseph Myers  <joseph@codesourcery.com>
diff --git a/soft-fp/double.h b/soft-fp/double.h
index f6c83d7253..23d11ccf72 100644
--- a/soft-fp/double.h
+++ b/soft-fp/double.h
@@ -89,7 +89,7 @@ union _FP_UNION_D
     unsigned exp   : _FP_EXPBITS_D;
     unsigned sign  : 1;
 # endif
-  } bits __attribute__ ((packed));
+  } bits;
 };
 
 # define FP_DECL_D(X)		_FP_DECL (2, X)
@@ -210,7 +210,7 @@ union _FP_UNION_D
     unsigned exp    : _FP_EXPBITS_D;
     unsigned sign   : 1;
 # endif
-  } bits __attribute__ ((packed));
+  } bits;
 };
 
 # define FP_DECL_D(X)		_FP_DECL (1, X)
diff --git a/soft-fp/extended.h b/soft-fp/extended.h
index 102acfc1ca..d2794320fa 100644
--- a/soft-fp/extended.h
+++ b/soft-fp/extended.h
@@ -88,7 +88,7 @@ union _FP_UNION_E
     unsigned exp : _FP_EXPBITS_E;
     unsigned sign : 1;
 # endif /* not bigendian */
-  } bits __attribute__ ((packed));
+  } bits;
 };
 
 
diff --git a/soft-fp/half.h b/soft-fp/half.h
index ea28db6c18..a1fea7b007 100644
--- a/soft-fp/half.h
+++ b/soft-fp/half.h
@@ -75,7 +75,7 @@ union _FP_UNION_H
     unsigned exp  : _FP_EXPBITS_H;
     unsigned sign : 1;
 #endif
-  } bits __attribute__ ((packed));
+  } bits;
 };
 
 #define FP_DECL_H(X)		_FP_DECL (1, X)
diff --git a/soft-fp/quad.h b/soft-fp/quad.h
index 71621f01bf..9a9e4e71f7 100644
--- a/soft-fp/quad.h
+++ b/soft-fp/quad.h
@@ -93,7 +93,7 @@ union _FP_UNION_Q
     unsigned exp : _FP_EXPBITS_Q;
     unsigned sign : 1;
 # endif /* not bigendian */
-  } bits __attribute__ ((packed));
+  } bits;
 };
 
 
diff --git a/soft-fp/single.h b/soft-fp/single.h
index 2918f78d97..d5c4a6d4a1 100644
--- a/soft-fp/single.h
+++ b/soft-fp/single.h
@@ -82,7 +82,7 @@ union _FP_UNION_S
     unsigned exp  : _FP_EXPBITS_S;
     unsigned sign : 1;
 #endif
-  } bits __attribute__ ((packed));
+  } bits;
 };
 
 #define FP_DECL_S(X)		_FP_DECL (1, X)