14 lines
736 B
Plaintext
14 lines
736 B
Plaintext
$NetBSD: patch-aa,v 1.14 2011/03/16 14:31:46 wiz Exp $
|
|
|
|
--- lib/isnan.c.orig 2011-03-01 16:39:28.000000000 +0000
|
|
+++ lib/isnan.c
|
|
@@ -118,7 +118,7 @@ FUNC (DOUBLE x)
|
|
/* Be careful to not do any floating-point operation on x, such as x == x,
|
|
because x may be a signaling NaN. */
|
|
# if defined __TINYC__ || defined __SUNPRO_C || defined __DECC \
|
|
- || (defined __sgi && !defined __GNUC__) || defined __ICC
|
|
+ || (defined __sgi && !defined __GNUC__) || defined __ICC || defined __vax__
|
|
/* The Sun C 5.0, Intel ICC 10.0, and Compaq (ex-DEC) 6.4 compilers don't
|
|
recognize the initializers as constant expressions. The latter compiler
|
|
also fails when constant-folding 0.0 / 0.0 even when constant-folding is
|