From ca8d5a5f3dea0f541fc3c388b6cb01a2d27e9924 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 2 Aug 2000 01:19:29 +0000 Subject: Update. * sysdeps/ia64/bits/byteswap.h: New file. Patch by Dan Pop . * misc/sys/cdefs.h: Define __attribute_format_arg__. * intl/libintl.h: Use it here instead of using __attribute__ directly. 2000-07-13 H.J. Lu * posix/regex.c (re_max_failures): Set to 4000. 2000-08-01 Ulrich Drepper --- math/tgmath.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'math') diff --git a/math/tgmath.h b/math/tgmath.h index ccc304ca62..aaf0f201c7 100644 --- a/math/tgmath.h +++ b/math/tgmath.h @@ -128,7 +128,7 @@ # define __TGMATH_UNARY_REAL_IMAG(Val, Fct, Cfct) \ (__extension__ ({ __tgmath_real_type (Val) __tgmres; \ if (sizeof (__real__ (Val)) > sizeof (double) \ - && __builtin_classify_type (Val) == 8) \ + && __builtin_classify_type (__real__ (Val)) == 8) \ { \ if (sizeof (__real__ (Val)) == sizeof (Val)) \ __tgmres = Fct##l (Val); \ @@ -136,7 +136,8 @@ __tgmres = Cfct##l (Val); \ } \ else if (sizeof (__real__ (Val)) == sizeof (double) \ - || __builtin_classify_type (Val) != 8) \ + || (__builtin_classify_type (__real__ (Val)) \ + != 8) \ { \ if (sizeof (__real__ (Val)) == sizeof (Val)) \ __tgmres = Fct (Val); \ @@ -157,7 +158,7 @@ # define __TGMATH_UNARY_IMAG_ONLY(Val, Fct) \ (__extension__ ({ __tgmath_real_type (Val) __tgmres; \ if (sizeof (Val) == sizeof (__complex__ double) \ - || __builtin_classify_type (Val) != 8) \ + || __builtin_classify_type (__real__ (Val)) != 8) \ __tgmres = Fct (Val); \ else if (sizeof (Val) == sizeof (__complex__ float)) \ __tgmres = Fct##f (Val); \ @@ -171,7 +172,7 @@ (__extension__ ({ __tgmath_real_type ((Val1) + (Val2)) __tgmres; \ if ((sizeof (__real__ (Val1)) > sizeof (double) \ || sizeof (__real__ (Val2)) > sizeof (double)) \ - && __builtin_classify_type (Val) == 8) \ + && __builtin_classify_type (__real__ (Val)) == 8) \ { \ if (sizeof (__real__ (Val1)) == sizeof (Val1) \ && sizeof (__real__ (Val2)) == sizeof (Val2)) \ @@ -181,7 +182,8 @@ } \ else if (sizeof (__real__ (Val1)) == sizeof (double) \ || sizeof (__real__ (Val2)) == sizeof(double) \ - || __builtin_classify_type (Val) != 8) \ + || (__builtin_classify_type (__real__ (Val)) \ + != 8) \ { \ if (sizeof (__real__ (Val1)) == sizeof (Val1) \ && sizeof (__real__ (Val2)) == sizeof (Val2)) \ -- cgit 1.4.1