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

2010-11-03 Thread Richard Guenther
On Tue, Nov 2, 2010 at 11:28 PM, Rainer Orth wrote: > Steve Ellcey 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

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

2010-11-02 Thread Rainer Orth
Steve Ellcey 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

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

2010-11-02 Thread Steve Ellcey
I was looking at a failure on IA64 HP-UX with the test gcc.c-torture/execute/pr45636.c. When compiled with -Os the call to mempcpy is not inlined and the test fails to compile because HP-UX does not have a mempcpy function. I tried creating a proc 'check_effective_target_mempcpy' in gcc/testsuit