Message ID | 2422106.cirsiXLexI@fomalhaut |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=adacore-com.20150623.gappssmtp.com header.i=@adacore-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=QWBB5s1i; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CcP7N64L1z9sTR for <incoming@patchwork.ozlabs.org>; Fri, 20 Nov 2020 02:42:06 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 93CC238708F8; Thu, 19 Nov 2020 15:42:04 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 140533851C39 for <gcc-patches@gcc.gnu.org>; Thu, 19 Nov 2020 15:42:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 140533851C39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=botcazou@adacore.com Received: by mail-wm1-x334.google.com with SMTP id a3so7148785wmb.5 for <gcc-patches@gcc.gnu.org>; Thu, 19 Nov 2020 07:42:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=2ZEPK3f4Ia0ZD6DzbYRYauXUhJitiuCzUCzIpv8VtQA=; b=QWBB5s1i+e1PczPIqv6Hbr7Jo1qvnHPwqZyQZtMHufAJHpqE5iRM7xXE46SDUqBbGS vtiP/F/W3Sw87TQct3Xqppge3fzSCxr0ZzWpL2Bv1svpC5bXxWEo7oo74xNhNyTvfdfx ovKRUtxBCK//jGDkGeEcb6L+MPVd7yUedsCYeisngNV5Hm5AKz38dH7jERI7wKXPP5d7 amcsAD3D+qowkAWMV0/P7lRxoQgMsOIXxDKmvkS6adryMo/JDu6YJUqINyV8FlI2waRZ dL1xrpYTAE32IIAsLrohk52zikfsq30gEE64OrMIXD1+KyOXchRtao9nPNYGKRd4+08Z UnHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=2ZEPK3f4Ia0ZD6DzbYRYauXUhJitiuCzUCzIpv8VtQA=; b=Kgfut0QCE1lOJY2MHNa23yi+XWYmgj3fEP1Qb+cJIMdjtTwR1FLkVo1rF6e1yDw6PI BrNmhs6zATiFYUk+vRVZhl9WJ35CfXzxpucBTqREao3KiRG7qAI2dBf1kiz90en21PII yMrBJP8ZdYFiwN0PGTXY+H5gebmeV+oigEnSH1YsnGxO7Sa0A/0zzp8HKVKfm7FaHcSr uV5h+ICE+fvGTz6IzpR/loNI250oPOCUVfVa4FH5YW6wmz1GzV4eFLyi6y1UNgpbJsCi ycJ4DvVYAwkO5MHPd/7keztHMw4W8HGGSnxvOI5sTrF2/GyExlvsBnz9nb6LUsN73UaL 4xNQ== X-Gm-Message-State: AOAM5337cqicli6NFQjCBvL/mDmqyH1JXeNoIDUnpLG7NyaIAEb7QD4+ Vwvd3KJDuAF7S1a03g3QymyzfkejJFxlOJ3H X-Google-Smtp-Source: ABdhPJzAP4v8VTz9BJnaecN/kqTc4ME3sBMIQoWnhAq0mZ/Y6nqZkA4cr7Kqgk0vdpWNs3doZJRXhQ== X-Received: by 2002:a1c:dc82:: with SMTP id t124mr3301460wmg.94.1605800520802; Thu, 19 Nov 2020 07:42:00 -0800 (PST) Received: from fomalhaut.localnet ([2a01:e0a:41b:9230:7f82:53f4:769e:54b6]) by smtp.gmail.com with ESMTPSA id v6sm152839wrb.53.2020.11.19.07.41.59 for <gcc-patches@gcc.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Nov 2020 07:42:00 -0800 (PST) From: Eric Botcazou <botcazou@adacore.com> X-Google-Original-From: Eric Botcazou <ebotcazou@adacore.com> To: gcc-patches@gcc.gnu.org Subject: Fix PR ada/97805 Date: Thu, 19 Nov 2020 16:41:59 +0100 Message-ID: <2422106.cirsiXLexI@fomalhaut> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2379176.uo9A0bzl5v" Content-Transfer-Encoding: 7Bit X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces@gcc.gnu.org> |
Series |
Fix PR ada/97805
|
expand
|
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index 560f3529442..f5432626ee6 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -145,6 +145,13 @@ #include "version.h" #endif +/* limits.h is needed for LLONG_MIN. */ +#ifdef __cplusplus +#include <climits> +#else +#include <limits.h> +#endif + #ifdef __cplusplus extern "C" { #endif