From patchwork Thu Mar 28 18:37:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 87783 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 831843858D39 for ; Thu, 28 Mar 2024 18:37:41 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (dellerweb.de [173.249.48.176]) by sourceware.org (Postfix) with ESMTPS id 30D283858D1E for ; Thu, 28 Mar 2024 18:37:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 30D283858D1E 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 30D283858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=173.249.48.176 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711651038; cv=none; b=TfkEavX7DRhCgph2J99qfQjxNOAuWNY1xFpvwPfLI9aWC3LYGx39cVtovjrek6I5ZUa6qZoj2mk23o6AKG7DVUAHV2qV4vo+CQxx4dG7GszgQKCp+j2rs6h3R/Wn2VS0Z3DBeetKujpOOGYo7DpxuO17PvhefrRBz8QkUi4gXno= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711651038; c=relaxed/simple; bh=ecWkWvK2CHy+BYoYDXMAz9/i1t4n4MrQ0iBoJ5fVCRQ=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=JjOgFv0Ot0wITfIJuKHq67Lm5WXVwJXcjNAjX0FBj6enGFtlxCKlnHt1L927/OEF45jAXltNFehg5CU+5ied3WwqmXix1mpH84yBng5cFx8uUBWbmieYRbhlGbnkfDdtDed/cqVYueDmzHg3/tt1cLwSIReRfJGSQZvtcbUPUU8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.188.251]) by dellerweb.de (Postfix) with ESMTPSA id C87D3160024F; Thu, 28 Mar 2024 19:37:13 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id DC77722011C; Thu, 28 Mar 2024 18:37:11 +0000 (UTC) Date: Thu, 28 Mar 2024 18:37:11 +0000 From: John David Anglin To: GCC Patches Subject: [committed] Fix failure of c-c++-common/analyzer/stdarg-pr111289-int.c on hpux Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP 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+patchwork=sourceware.org@gcc.gnu.org Fixes conflicting declarations of mode_t. Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- Fix failure of c-c++-common/analyzer/stdarg-pr111289-int.c on hpux 2024-03-28 John David Anglin gcc/testsuite/ChangeLog: PR analyzer/111289 * c-c++-common/analyzer/stdarg-pr111289-int.c: Don't include . diff --git a/gcc/testsuite/c-c++-common/analyzer/stdarg-pr111289-int.c b/gcc/testsuite/c-c++-common/analyzer/stdarg-pr111289-int.c index 33d83169c3e..8faa58c9480 100644 --- a/gcc/testsuite/c-c++-common/analyzer/stdarg-pr111289-int.c +++ b/gcc/testsuite/c-c++-common/analyzer/stdarg-pr111289-int.c @@ -1,6 +1,5 @@ #include #include -#include typedef unsigned int mode_t;