From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30056 invoked by alias); 15 Feb 2017 17:02:09 -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 30031 invoked by uid 89); 15 Feb 2017 17:02:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=ciao, 45,9, sk:changel, sk:ChangeL X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Feb 2017 17:02:05 +0000 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v1FGxwZ4078673 for ; Wed, 15 Feb 2017 12:02:04 -0500 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 28mq9gk243-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 15 Feb 2017 12:02:03 -0500 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 15 Feb 2017 17:01:59 -0000 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 15 Feb 2017 17:01:57 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 017B82190023 for ; Wed, 15 Feb 2017 17:01:00 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v1FH1vlf6816190; Wed, 15 Feb 2017 17:01:57 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EF13E4204B; Wed, 15 Feb 2017 17:01:52 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B82DF42052; Wed, 15 Feb 2017 17:01:52 +0000 (GMT) Received: from oc5510024614.ibm.com (unknown [9.145.152.233]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 15 Feb 2017 17:01:52 +0000 (GMT) Received: by oc5510024614.ibm.com (Postfix, from userid 500) id 31CE11AAC3; Wed, 15 Feb 2017 18:01:55 +0100 (CET) Date: Wed, 15 Feb 2017 17:03:00 -0000 From: Dominik Vogt To: gcc-patches@gcc.gnu.org Cc: Andreas Krebbel Subject: [PATCH] PR 79356: Do not xfail attr-alloc_size-11.c on some targets. Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: vogt@linux.vnet.ibm.com, gcc-patches@gcc.gnu.org, Andreas Krebbel MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17021517-0040-0000-0000-0000032BBEFA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17021517-0041-0000-0000-0000242D1FA3 Message-Id: <20170215170154.GA4895@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-02-15_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702150162 X-SW-Source: 2017-02/txt/msg01007.txt.bz2 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 337 The attached patch removes the xfail on two sub tests of attr-alloc_size-11.c for the targets who were reported to produce an XPASS: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 Tested on s390x biarch and s390. Please check if the strings for the other targets are correct. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=0001-ChangeLog Content-length: 137 gcc/testsuite/ChangeLog-pr79356 PR 79356 * gcc.dg/attr-alloc_size-11.c: Remove xfail for aarch64, ia64*, powerpc*, sparc* and s390*. --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-PR-79356-Do-not-xfail-attr-alloc_size-11.c-on-some-t.patch" Content-length: 2031 >From 8486df212e3284e5fbdfb3f47bff59652e1e55a7 Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Wed, 15 Feb 2017 17:39:07 +0100 Subject: [PATCH] PR 79356: Do not xfail attr-alloc_size-11.c on some targets. --- gcc/testsuite/gcc.dg/attr-alloc_size-11.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.dg/attr-alloc_size-11.c b/gcc/testsuite/gcc.dg/attr-alloc_size-11.c index fac8b18..077b725 100644 --- a/gcc/testsuite/gcc.dg/attr-alloc_size-11.c +++ b/gcc/testsuite/gcc.dg/attr-alloc_size-11.c @@ -45,9 +45,10 @@ typedef __SIZE_TYPE__ size_t; return CAT (alloc_anti_range_, __LINE__)(n); \ } typedef void dummy /* Require a semicolon. */ -/* The following tests fail because of missing range information. */ -TEST (signed char, SCHAR_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for signed char" { xfail *-*-* } } */ -TEST (short, SHRT_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for short" { xfail *-*-* } } */ +/* The following tests fail on some targets because of missing range + information. */ +TEST (signed char, SCHAR_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for signed char" { xfail { ! "aarch64-*-* ia64*-*-* powerpc*-*-* s390*-*-* sparc*-*-*" } } } */ +TEST (short, SHRT_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for short" { xfail { ! "aarch64-*-* ia64*-*-* powerpc*-*-* s390*-*-* sparc*-*-*" } } } */ TEST (int, INT_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" } */ TEST (int, -3, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" } */ -- 2.3.0 --gBBFr7Ir9EOA20Yy--