From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14677 invoked by alias); 18 Feb 2014 14:48:54 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 14668 invoked by uid 89); 18 Feb 2014 14:48:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp-relay.CeBiTec.Uni-Bielefeld.DE Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Feb 2014 14:48:52 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 30AD19E; Tue, 18 Feb 2014 15:48:50 +0100 (CET) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eoAqVXxvl-hc; Tue, 18 Feb 2014 15:48:48 +0100 (CET) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.110]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 93B659C; Tue, 18 Feb 2014 15:48:48 +0100 (CET) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.14.7+Sun/8.14.7/Submit) id s1IEmlPA004745; Tue, 18 Feb 2014 15:48:47 +0100 (MET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Richard Biener Subject: [testsuite] XFAIL gcc.dg/torture/pr60092.c execution on Solaris 11 Date: Tue, 18 Feb 2014 14:48:00 -0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg01039.txt.bz2 --=-=-= Content-Type: text/plain Content-length: 544 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 * gcc.dg/torture/pr60092.c: xfail execution on *-*-solaris2.11* at -O0. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=testsuite-pr60092-sol11.patch Content-length: 609 # 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)); --=-=-= Content-Type: text/plain Content-length: 143 -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University --=-=-=--