[PATCH] Skip tests using alias on Mach-O and COFF

IainS developer@sandoe-acoustics.co.uk
Mon May 24 16:49:00 GMT 2010


On 24 May 2010, at 17:23, Mark Mitchell wrote:

> Dave Korn wrote:
>
>>> These tests should be disabled for hosts that use Mach-O or
>>> COFF. Tested on x86_64-apple-darwin10. Okay for gcc trunk?
>>
>>  Certainly good from the cygming point of view, thank you.
>
> Jack, please create a DejaGNU predicate for the feature required, if
> such a predicate does not already exist, rather than testing for
> specific triplets.   In this case, I'd expect you want dg-require- 
> alias.

/* { dg-require-alias "" } */

... does the job on darwin/mach-o, (although we do have weak alias).
will it work also for the COFF targets?

Iain



More information about the Gcc-patches mailing list