From patchwork Wed Oct 24 13:06:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 988628 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-488205-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="SZ/0OugT"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42g9WV0hbLz9sB7 for ; Thu, 25 Oct 2018 00:06:45 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=sB4eTn5Ub6aJ9wjnkAEZyQV/UdbQ2uCUyDHmZB+12va/KGLdASn9c MZoG3LSvNycv1/F0nH3mt0YSBvPaM6vAB2S7rhZU0uEkA2fuYe+CfVOH//4sFPnU 7+9V2HZgRtCucVm+XBWzVNyyvjlcKEdqPqpv3xrGpHklDzRUKPUswY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=o/WChMWjLqRkGWMSMcRNsNJgabA=; b=SZ/0OugTvJVRFyxUhZBw ZjExHui4L+RN9hCM0iOJhcLKnDOlDDyQpOjQ8CQJht10zGwpGh1ETxN8rBgNpG33 UI3KhTnwGq5uaGRs/fY0XWwPEyZ2kprqHKelh1kMgZqGPNwXm/XFrSTbVvr4uo2D Y4ss/o1FrtVLQ2jBJ99r0Ak= Received: (qmail 51075 invoked by alias); 24 Oct 2018 13:06:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 51051 invoked by uid 89); 24 Oct 2018 13:06:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy= X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Oct 2018 13:06:35 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 83A85ACB for ; Wed, 24 Oct 2018 15:06:32 +0200 (CEST) Received: from smtp.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 bPZhWDXb0P1r for ; Wed, 24 Oct 2018 15:06:30 +0200 (CEST) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id BC4E5AC8 for ; Wed, 24 Oct 2018 15:06:30 +0200 (CEST) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id w9OD6TEe007776; Wed, 24 Oct 2018 15:06:29 +0200 (MEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [testsuite] Don't xfail gcc.dg/pr78973-2.c on non-ilp64 targets Date: Wed, 24 Oct 2018 15:06:29 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Between 20181022 (r265393) and 20181023 (r265430), gcc.dg/pr78973-2.c began to XPASS on a large number of targets: +XPASS: gcc.dg/pr78973-2.c ilp32 (test for warnings, line 16) The following patch fixes this by removing the xfail on dg-warning. Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11, and x86_64-pc-linux-gnu (both multilibs in every case). I'd usually just install the patch as obvious, but am holding back since none of the patches in that range obviously caused that. Rainer # HG changeset patch # Parent c704e85a30095c986599b2a7af488d213703bd44 Don't xfail gcc.dg/pr78973-2.c on non-ilp64 targets diff --git a/gcc/testsuite/gcc.dg/pr78973-2.c b/gcc/testsuite/gcc.dg/pr78973-2.c --- a/gcc/testsuite/gcc.dg/pr78973-2.c +++ b/gcc/testsuite/gcc.dg/pr78973-2.c @@ -14,7 +14,7 @@ void f (int n) { if (n <= 4) p = __builtin_malloc (n); - /* { dg-warning "argument 1 range \\\[\[0-9\]+, \[0-9\]+\\\] exceeds maximum object size 4" "ilp32" { xfail { ! lp64 } } .-1 } */ + /* { dg-warning "argument 1 range \\\[\[0-9\]+, \[0-9\]+\\\] exceeds maximum object size 4" "ilp32" { target *-*-* } .-1 } */ } void g (unsigned n)