about summary refs log tree commit diff
path: root/ports/ChangeLog.ia64
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-11 01:20:39 +0000
committerMike Frysinger <vapier@gentoo.org>2013-03-12 06:00:28 -0400
commita186dc916c30e5077e092335e6c264d9d18688df (patch)
treee5e8b317dea1d35628d1ee3a46ae806c67dad173 /ports/ChangeLog.ia64
parentc5abd7ce01539dc5224f7533c9d1048900992317 (diff)
downloadglibc-a186dc916c30e5077e092335e6c264d9d18688df.tar.gz
glibc-a186dc916c30e5077e092335e6c264d9d18688df.tar.xz
glibc-a186dc916c30e5077e092335e6c264d9d18688df.zip
ia64: fix strict aliasing warnings with libm error
The current code declares double constants by using a char buffer and
then casting the pointer to a different type.  This makes the aliasing
logic unhappy.  Change it to use a union instead to avoid that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ports/ChangeLog.ia64')
-rw-r--r--ports/ChangeLog.ia6424
1 files changed, 24 insertions, 0 deletions
diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64
index 82ae703593..371be42e46 100644
--- a/ports/ChangeLog.ia64
+++ b/ports/ChangeLog.ia64
@@ -1,5 +1,29 @@
 2013-03-12  Mike Frysinger  <vapier@gentoo.org>
 
+	* sysdeps/ia64/fpu/libm_error.c (STATIC): Delete redundant definition.
+	(_DECL_NUM, DECL_FLOAT, DECL_DOUBLE, DECL_LONG_DOUBLE): New defines.
+	(float_inf): Change definition to use DECL_FLOAT.
+	(float_huge, float_zero, float_neg_inf, float_neg_huge,
+	float_neg_zero): Likewise.
+	(double_inf): Change definition to use DECL_DOUBLE.
+	(double_huge, double_zero, double_neg_inf, double_neg_huge,
+	double_neg_zero): Likewise.
+	(long_double_inf): Change definition to use DECL_LONG_DOUBLE.
+	(long_double_huge, long_double_zero, long_double_neg_inf,
+	long_double_neg_huge, long_double_neg_zero): Likewise.
+	(RETVAL_HUGE_VALL): Change from casting a pointer to using the num
+	field of the union.
+	(RETVAL_NEG_HUGE_VALL, RETVAL_HUGEL, RETVAL_NEG_HUGEL,
+	RETVAL_HUGE_VALL, RETVAL_NEG_HUGE_VALL, RETVAL_HUGEL,
+	RETVAL_NEG_HUGEL, RETVAL_HUGE_VALD, RETVAL_NEG_HUGE_VALD,
+	RETVAL_HUGED, RETVAL_NEG_HUGED, RETVAL_HUGE_VALF,
+	RETVAL_NEG_HUGE_VALF, RETVAL_HUGEF, RETVAL_NEG_HUGEF,
+	ZEROL_VALUE, ZEROD_VALUE, ZEROF_VALUE, RETVAL_ZEROL,
+	RETVAL_ZEROD, RETVAL_ZEROF, RETVAL_NEG_ZEROL, RETVAL_NEG_ZEROD,
+	RETVAL_NEG_ZEROF): Likewise.
+
+2013-03-12  Mike Frysinger  <vapier@gentoo.org>
+
 	* sysdeps/ia64/dl-fptr.h (ELF_PTR_TO_FDESC): New definition.
 	* sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Change
 	struct fdesc * casts to use new ELF_PTR_TO_FDESC helper.