This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to skip some more tests for x86 -m64
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> On Fri, 1 Apr 2005, Devang Patel wrote:
>
>> Any reason not to use
>> /* { dg-require-effective-target ilp32 } */
>> (or any other appropriate dg-require..) ?
>
> The style used by the existing i386 tests. There are at least three
> different ways of doing the same thing and as far as I know no guidance on
> when which testsuite feature should be used.
>
> { target { i?86-*-* && ilp32 } }
> { dg-require-effective-target ilp32 }
> { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
I believe the second is current best practice. Janis would know for
sure.
zw