From patchwork Thu Nov 23 20:56:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 169121 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp705644vqx; Thu, 23 Nov 2023 12:56:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvfxq4yKxF8ICjuaoF6xhYPMtlpk5VXOeVLqBzmFh8Pib8RHblRketK/TRo5EEQOU3cLSZ X-Received: by 2002:a05:620a:8718:b0:77d:5c49:b4f3 with SMTP id px24-20020a05620a871800b0077d5c49b4f3mr479908qkn.47.1700773011943; Thu, 23 Nov 2023 12:56:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700773011; cv=pass; d=google.com; s=arc-20160816; b=e6Oes+FccQKAILYK1V5ARvcut7S0Oqk6g/tAwJHyp6TYD5r5aQ9kPIRRO+gljXITEd OKw+FOvnFzpEdq3t0fLpwh2TmrOVJ9m1LCJ7deAeMcPrnLl7Hos8zEwuan5Rnk+O52yf exf8xKZLj+MnaMZ4qbxJ0AXpFcl8FTHGCw+EN0T6l+7YaVEybuZfB1/iuIjpFiZoLU7G 1H6ByR7Flk+0vHczaDwPHQkD4rSel9g2iTPyov2T/2TnieYs9I77w5tCdh5YGSI2aZax IFDMARWJQCASfQpa6xbWS/ZIIAf1FcSIYHjpotDp3gDtZN9HALOgpKYRpBnbsat5Qcay oTtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:arc-filter :dmarc-filter:delivered-to; bh=GvGYE2YX26RsaT0IXa8HHydq8zahWVLMZhGcdU9jQxQ=; fh=1L2/IiukS00vgiXcKREcvt+pFBEM8GuYOng2C1a9k1k=; b=BuHG+5TU1yU4JOv8ixQcErLxhDXwGJQUCi2U8ylSJ4RTWpO563ymnaS3kV2rHvyf4t QQ4Jmmt9+12O3YGDYxW7dYGhjySqM7re77xFI0GPKFvppXz0Y5RHY3nOMplAWiSsps0w rNz8hefzsBFmbvM76qtkShAv/LXey9WC7kDvY4wo/l4WIWDMDXgfT5E113/4KiJOivmj um4FqICWXO2UOUnZgeaf+JlkdTceGMIJs2hARm1dVYucMR/oUn559oSMsv8tpIqIocQ8 SJATDx9guN4GRnrJYa2yPnSJ/n6FulqyDoOXtw4t9xq8CeIpL5i1u34TFbB8IyiNgAkm mqqw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id j15-20020a05620a288f00b0077592c33673si1868474qkp.53.2023.11.23.12.56.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 12:56:51 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF0073858C2D for ; Thu, 23 Nov 2023 20:56:51 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (unknown [IPv6:2a02:c207:3003:236::1]) by sourceware.org (Postfix) with ESMTPS id 318A33858D1E for ; Thu, 23 Nov 2023 20:56:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 318A33858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 318A33858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a02:c207:3003:236::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700772988; cv=none; b=D23SN1MWFd6i279C48f1q2FhobOhIGzscTWhVdvuvuBu5LWiHruvKfV6s03nMjShPJms1hx/ddo61l0BOt+hXgqex641x5cd7YlWp245NGkPSa2w7tu2WqydlQ57jlgxQ2Qz6y5cU1/654Xr9Ut3Jk/5G4j+VzYXtwCNAAQn8F8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700772988; c=relaxed/simple; bh=AbN4q3/wK6eklBgYI3Kg6cxWm7DFUA/MAG758ADHPJI=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=HP+aLeDAcWw4OShfu0tPHlLdxezINhQQGIJnx37spWC9Fj6d1+rSqvrCotAX+P1lnRZjLRfspQ2vnAeCjDGnMke6wa52GD6jhLpZF0b0P6n4WDge4sFdkZ2sCYY/RKX+LBir+C4k9gK3oMOfPdiZEBO9YotGFGW3+l/GXvkPJZo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.114.79]) by dellerweb.de (Postfix) with ESMTPSA id D7BE11600244; Thu, 23 Nov 2023 21:56:25 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id A700422012C; Thu, 23 Nov 2023 20:56:04 +0000 (UTC) Date: Thu, 23 Nov 2023 20:56:04 +0000 From: John David Anglin To: GCC Patches Subject: [committed] hppa: Fix gcc.dg/analyzer/fd-4.c on hpux Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-9.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783389761731478958 X-GMAIL-MSGID: 1783389761731478958 This fixes gcc.dg/analyzer/fd-4.c on hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Fix gcc.dg/analyzer/fd-4.c on hpux 2023-11-23 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/analyzer/fd-4.c: Define _MODE_T on hpux. diff --git a/gcc/testsuite/gcc.dg/analyzer/fd-4.c b/gcc/testsuite/gcc.dg/analyzer/fd-4.c index 994bad84342..3a961e4f813 100644 --- a/gcc/testsuite/gcc.dg/analyzer/fd-4.c +++ b/gcc/testsuite/gcc.dg/analyzer/fd-4.c @@ -1,4 +1,4 @@ -#ifdef _AIX +#if defined(_AIX) || defined(__hpux) #define _MODE_T #endif #include