> On Nov 4, 2018, at 2:33 PM, Jeff Law <l...@redhat.com> wrote:
>
> On 11/1/18 1:30 PM, Paul Koning wrote:
>> A number of test cases fail on pdp11 because they use the "inf" float value
>> which does not exist on that target (nor on VAX). Rainer Orth and Joseph
>> Myers suggested adding a new effective-target keyword to check for this, and
>> require it for tests that have that dependency.
>>
>> The attached patch implements this. Ok for trunk?
>>
>> paul
>>
>> ChangeLog:
>>
>> 2018-11-01 Paul Koning <n...@arrl.net>
>>
>> * doc/sourcebuild.texi (target attributes): Document new "inf"
>> effective target keyword.
> OK with me.
>
> jeff
Thanks. Committed, with the doc change clarified to address Joseph's comment.
paul
Index: doc/sourcebuild.texi
===================================================================
--- doc/sourcebuild.texi (revision 265814)
+++ doc/sourcebuild.texi (revision 265815)
@@ -1393,8 +1393,11 @@ for any options added with @code{dg-add-options}.
Target has runtime support for any options added with
@code{dg-add-options} for any @code{_Float@var{n}} or
@code{_Float@var{n}x} type.
+
+@item inf
+Target supports floating point infinite (@code{inf}) for type
+@code{double}.
@end table
-
@subsubsection Fortran-specific attributes
@table @code