dg-require-effective-target & gcc.c-torture suite

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Nov 2 22:59:00 GMT 2010


Steve Ellcey <sje@cup.hp.com> writes:

> I tried creating a proc 'check_effective_target_mempcpy'
> in gcc/testsuite/lib/target-supports.exp and using 
>
> /* { dg-require-effective-target mempcpy } */
>
> on the test, but that did not work.  It appears that the
> gcc.c-torture/execute (and compile?) tests do not obey
> dg-require-effective-target directives.  Does anyone know if
> this is a bug or is it just a known issue that
> dg-require-effective-target is not expected to work in
> this testsuite?  If I move the test to gcc.dg then it works
> the way I expect.

I think you need to use a <testcase>.x file instead.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc mailing list