Message ID | yddwqgs8oj4.fsf@lokon.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
On Tue, 18 Feb 2014, Rainer Orth wrote: > As described in PR middle-end/60092, gcc.dg/torture/pr60092.c execution > FAILs at -O0 on Solaris 11. posix_memalign modifies it's first arg in > the error case, which is at least a QOI issue. > > Therefore I'd like to XFAIL the test like this. Tested with the > appropriate runtest invocation on i386-pc-solaris2.10, > i386-pc-solaris2.11, sparc-sun-solaris2.11, and > x86_64-unknown-linux-gnu. > > Ok for mainline? Ok. Thanks, Richard. > Rainer > > > 2014-02-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> > > * gcc.dg/torture/pr60092.c: xfail execution on *-*-solaris2.11* at -O0.
# HG changeset patch # Parent 6bae6f59c3da3dbde951b8044014c788747c3849 XFAIL gcc.dg/torture/pr60092.c execution on Solaris 11 diff --git a/gcc/testsuite/gcc.dg/torture/pr60092.c b/gcc/testsuite/gcc.dg/torture/pr60092.c --- a/gcc/testsuite/gcc.dg/torture/pr60092.c +++ b/gcc/testsuite/gcc.dg/torture/pr60092.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-weak "" } */ +/* { dg-xfail-run-if "posix_memalign modifies first arg on error" { *-*-solaris2.11* } { "-O0" } } */ typedef __SIZE_TYPE__ size_t; extern int posix_memalign(void **memptr, size_t alignment, size_t size) __attribute__((weak));