Date: Sat, 11 Aug 2012 15:47:23 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r239195 - head/lib/msun/src Message-ID: <201208111547.q7BFlNFD072661@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Aug 11 15:47:22 2012 New Revision: 239195 URL: http://svn.freebsd.org/changeset/base/239195 Log: Add __always_inline to __ieee754_rem_pio2() and __ieee754_rem_pio2f(), since some older versions of gcc refuse to inline these otherwise. Requested by: bde MFC after: 1 week Modified: head/lib/msun/src/e_rem_pio2.c head/lib/msun/src/e_rem_pio2f.c Modified: head/lib/msun/src/e_rem_pio2.c ============================================================================== --- head/lib/msun/src/e_rem_pio2.c Sat Aug 11 15:08:19 2012 (r239194) +++ head/lib/msun/src/e_rem_pio2.c Sat Aug 11 15:47:22 2012 (r239195) @@ -49,7 +49,7 @@ pio2_3 = 2.02226624871116645580e-21, / pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */ #ifdef INLINE_REM_PIO2 -static __inline +static __inline __always_inline #endif int __ieee754_rem_pio2(double x, double *y) Modified: head/lib/msun/src/e_rem_pio2f.c ============================================================================== --- head/lib/msun/src/e_rem_pio2f.c Sat Aug 11 15:08:19 2012 (r239194) +++ head/lib/msun/src/e_rem_pio2f.c Sat Aug 11 15:47:22 2012 (r239195) @@ -41,7 +41,7 @@ pio2_1 = 1.57079631090164184570e+00, / pio2_1t = 1.58932547735281966916e-08; /* 0x3E5110b4, 0x611A6263 */ #ifdef INLINE_REM_PIO2F -static __inline +static __inline __always_inline #endif int __ieee754_rem_pio2f(float x, double *y)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208111547.q7BFlNFD072661>