re PR middle-end/57219 (__builtin_isinf_sign source comments more restrictive than documentation)

2013-08-27  Marc Glisse  <marc.glisse@inria.fr>

	PR middle-end/57219
	* doc/extend.texi (__builtin_isinf_sign): Restrict the return
	values to -1, 0 and 1.

From-SVN: r202021
This commit is contained in:
Marc Glisse 2013-08-27 14:39:21 +02:00 committed by Marc Glisse
parent 2e100703fa
commit 1c5abb53b9
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-08-27 Marc Glisse <marc.glisse@inria.fr>
PR middle-end/57219
* doc/extend.texi (__builtin_isinf_sign): Restrict the return
values to -1, 0 and 1.
2013-08-27 Vidya Praveen <vidyapraveen@arm.com>
* config/aarch64/aarch64.md (unspec): Add UNSPEC_SISD_SSHL,

View File

@ -8618,8 +8618,9 @@ type is @code{long double}.
@end deftypefn
@deftypefn {Built-in Function} int __builtin_isinf_sign (...)
Similar to @code{isinf}, except the return value is negative for
an argument of @code{-Inf}. Note while the parameter list is an
Similar to @code{isinf}, except the return value is -1 for
an argument of @code{-Inf} and 1 for an argument of @code{+Inf}.
Note while the parameter list is an
ellipsis, this function only accepts exactly one floating-point
argument. GCC treats this parameter as type-generic, which means it
does not do default promotion from float to double.