dg-add-options ieee ?

Paul Koning paulkoning@comcast.net
Wed Oct 31 21:14:00 GMT 2018



> On Oct 31, 2018, at 4:11 PM, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
> 
> Hi Paul,
> 
>> Ok, thanks.  So adding a dg-skip-if for my target is indeed correct.  Will do so.
> 
> please don't: since this is going to be common, please add a
> corresponding effective-target keyword instead, together with
> sourcebuild.texi documentation.  That's far more expressive than
> explicit target lists.
> 
> Thanks.
>        Rainer

So you mean, add a new keyword (say, "ieee") to dg-effective-target that means "run this test only on ieee targets"?

Another approach might be to have dg-add-options ieee mean what it does today, but also have it skip the test for non-ieee capable targets.  Or is that undesirable because it muddles the meaning of the dg-add-options keyword?  I figure it would make sense because any test that has dg-add-options ieee by definition should be skipped by any target that can't do ieee at all.

	paul




More information about the Gcc mailing list