ia64: fix strict aliasing warnings with libm error
commita186dc916c30e5077e092335e6c264d9d18688df
authorMike Frysinger <vapier@gentoo.org>
Mon, 11 Mar 2013 01:20:39 +0000 (11 01:20 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Mar 2013 10:00:28 +0000 (12 06:00 -0400)
treee5e8b317dea1d35628d1ee3a46ae806c67dad173
parentc5abd7ce01539dc5224f7533c9d1048900992317
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>
ports/ChangeLog.ia64
ports/sysdeps/ia64/fpu/libm_error.c