From patchwork Fri Apr 20 21:04:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 902183 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-476692-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="PFXBP+Sm"; 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 40SSzv2YQkz9s27 for ; Sat, 21 Apr 2018 07:05:13 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to:cc :from:subject:date:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=default; b=hONPu sbUb1Gl/rEsv0nMw+oaNQO3xqU6b30BF8D38fCd26Lu/LjJBr0LwHRxlo6adxjRl QKvEBNyVirDvuPh7tgBrY5K7X9NGm0Z+Xtf3ezw0wTq6W3rd5XXoHt9EOpngzIgI ExJso194D27p8GHeO/tAltXEt7DbOtq0NirhcA= 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:to:cc :from:subject:date:mime-version:content-type :content-transfer-encoding:message-id; s=default; bh=prta8YsP3tk lwcBOJjCzcW3umR4=; b=PFXBP+SmapaeWqikVU4a/F1x6RBIDREzCzsgfU5xSpl yeN4dVYcSxEHEDMA4b93wkhuYdcHCurZ9GcFgbANbeOgsSR5shjBeeXmc5bf7Fkf JyxZad+sLniSm5aq2NdCkv5OnmoZoHIqGYBntrOZxc6xHhwqa6QZ+Vovj4ppC1FQ = Received: (qmail 13097 invoked by alias); 20 Apr 2018 21:05:06 -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 12009 invoked by uid 89); 20 Apr 2018 21:05:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.3 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=undefbool2c, UD:undef-bool-2.c, undef-bool-2.c, ansi X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Apr 2018 21:05:04 +0000 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3KL4pNS099289 for ; Fri, 20 Apr 2018 17:05:02 -0400 Received: from e18.ny.us.ibm.com (e18.ny.us.ibm.com [129.33.205.208]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hfktjadww-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Fri, 20 Apr 2018 17:05:02 -0400 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 20 Apr 2018 17:05:01 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (9.57.198.29) by e18.ny.us.ibm.com (146.89.104.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 20 Apr 2018 17:05:00 -0400 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3KL50H951511508; Fri, 20 Apr 2018 21:05:00 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F2852112047; Fri, 20 Apr 2018 17:04:28 -0400 (EDT) Received: from BigMac.local (unknown [9.85.168.77]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP id B2D04112056; Fri, 20 Apr 2018 17:04:28 -0400 (EDT) To: GCC Patches Cc: Segher Boessenkool From: Bill Schmidt Subject: [PATCH, rs6000, committed] undef-bool-* tests should exclude -m32 Date: Fri, 20 Apr 2018 16:04:59 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 18042021-0044-0000-0000-000004089FEE X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008890; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000257; SDB=6.01020819; UDB=6.00520901; IPR=6.00800056; MB=3.00020689; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-20 21:05:01 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18042021-0045-0000-0000-0000083AA73C Message-Id: <8e5d5153-e9d1-cf95-d729-e5d74ee3ee97@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-20_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804200212 Hi, These two new tests don't work with -m32, because they include headers that don't support 32-bit. Require lp64 to stop the noise. Tested on powerpc64-linux-gnu (P7, 32/64) and powerpc64le-linux-gnu (P8, 64), committed as pre-approved. Thanks! Bill [gcc/testsuite] 2018-04-20 Bill Schmidt * g++.dg/ext/undef-bool-1.C: Require lp64. * gcc.target/powerpc/undef-bool-2.c: Likewise. Index: gcc/testsuite/g++.dg/ext/undef-bool-1.C =================================================================== --- gcc/testsuite/g++.dg/ext/undef-bool-1.C (revision 259521) +++ gcc/testsuite/g++.dg/ext/undef-bool-1.C (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-options "-O2 -DNO_WARN_X86_INTRINSICS -mvsx" } */ +/* { dg-require-effective-target lp64 } */ /* Test to ensure that "bool" gets undef'd in xmmintrin.h when we require strict ANSI. */ Index: gcc/testsuite/gcc.target/powerpc/undef-bool-2.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/undef-bool-2.c (revision 259521) +++ gcc/testsuite/gcc.target/powerpc/undef-bool-2.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -std=c11 -DNO_WARN_X86_INTRINSICS -mvsx" } */ +/* { dg-require-effective-target lp64 } */ /* Test to ensure that "bool" gets undef'd in xmmintrin.h when we require strict ANSI. Subsequent use of bool needs stdbool.h.