aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2006-04-03 20:56:59 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2006-04-03 20:56:59 +0000
commita7d3746437a6bbe12c5e470ef06d86c5ed0efe6c (patch)
treee318da3744c94ccd859b148c4cec548b7411a9ec
parent2332d585583c1fd02f11346fcbd466b1c60d4501 (diff)
downloadgcc-a7d3746437a6bbe12c5e470ef06d86c5ed0efe6c.zip
gcc-a7d3746437a6bbe12c5e470ef06d86c5ed0efe6c.tar.gz
gcc-a7d3746437a6bbe12c5e470ef06d86c5ed0efe6c.tar.bz2
extend.texi (Other Builtins): Document that __builtin_nan is a compile-time constant only when...
* doc/extend.texi (Other Builtins): Document that __builtin_nan is a compile-time constant only when its argument is valid. From-SVN: r112646
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/extend.texi5
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d157632..4585bf1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-03 Geoffrey Keating <geoffk@apple.com>
+
+ * doc/extend.texi (Other Builtins): Document that
+ __builtin_nan is a compile-time constant only when its argument
+ is valid.
+
2006-04-03 Adam Nemet <anemet@caviumnetworks.com>
* simplify-rtx.c (simplify_unary_operation_1) <TRUNCATE>: When
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index cf15458..ae3a7f2 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -5734,8 +5734,9 @@ is at the least significant bit of the significand. The number is
truncated to fit the significand field provided. The significand is
forced to be a quiet NaN@.
-This function, if given a string literal, is evaluated early enough
-that it is considered a compile-time constant.
+This function, if given a string literal all of which would have been
+consumed by strtol, is evaluated early enough that it is considered a
+compile-time constant.
@end deftypefn
@deftypefn {Built-in Function} _Decimal32 __builtin_nand32 (const char *str)