* [testsuite] XFAIL gcc.dg/torture/pr60092.c execution on Solaris 11
@ 2014-02-18 14:48 Rainer Orth
2014-02-19 8:30 ` Richard Biener
0 siblings, 1 reply; 2+ messages in thread
From: Rainer Orth @ 2014-02-18 14:48 UTC (permalink / raw)
To: gcc-patches; +Cc: Richard Biener
[-- Attachment #1: Type: text/plain, Size: 544 bytes --]
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?
Rainer
2014-02-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/torture/pr60092.c: xfail execution on *-*-solaris2.11* at -O0.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: testsuite-pr60092-sol11.patch --]
[-- Type: text/x-patch, Size: 609 bytes --]
# 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));
[-- Attachment #3: Type: text/plain, Size: 143 bytes --]
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [testsuite] XFAIL gcc.dg/torture/pr60092.c execution on Solaris 11
2014-02-18 14:48 [testsuite] XFAIL gcc.dg/torture/pr60092.c execution on Solaris 11 Rainer Orth
@ 2014-02-19 8:30 ` Richard Biener
0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2014-02-19 8:30 UTC (permalink / raw)
To: Rainer Orth; +Cc: gcc-patches
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-19 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18 14:48 [testsuite] XFAIL gcc.dg/torture/pr60092.c execution on Solaris 11 Rainer Orth
2014-02-19 8:30 ` Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).