From patchwork Tue Sep 10 07:45:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 1983023 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=YwjflGtc; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X2wkg0mvgz1y1S for ; Tue, 10 Sep 2024 17:46:32 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BF7A43858424 for ; Tue, 10 Sep 2024 07:46:30 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id B36663858C53 for ; Tue, 10 Sep 2024 07:45:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B36663858C53 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B36663858C53 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::331 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725954342; cv=none; b=FWnugLizg2EkDB0xH9vt1KgLJHrYfqkJs9urEh4owzqKMRP1uKbH/8GulsYMkRsdjqHyukkAU6zKIhxR5zEB1HclFZDHzH44fg8YQxM9zdvzzsSF7AnIbMsJD75E41Nvd4OASMFPdIw9eocQAZpkGk1AqBsr4RQUqQ5Y8biFCGk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725954342; c=relaxed/simple; bh=kkz9snGusAHIUpGQnZ1ryyHbAJGgUiU6M09es1EiNeQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Kh9sVCCfr4Vn92APaSFFWNcqZo6/eefMqFG08acq0SGQizsjU8Gjt+dK1CJfvQLjQ0w8hlzEmJ2LeswSzJjMyQeoRhqobPOOsi5wIVjqkYXoAJlBAdG67/Au7M7mhsw+yM5fxygIxcyXxQQinOf8w/ZfIPQcC4nag2k/wxq0RPU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-42cba6cdf32so12019875e9.1 for ; Tue, 10 Sep 2024 00:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1725954337; x=1726559137; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z1bBLEJQRv6XQNO5RJvJalMuAghJ5XAj4sbcmKJgdoc=; b=YwjflGtcgMaAEP0dNjfHiMF6QxiIANLChbrkuL8dYDDxLVm1pLDUd/959HR6bjVoSm RJoJO+zloktsAdZOtDSLpxtgMFX1Ru4qBDeTszAYcGs8UYfwckpxXrHWWovc8pmp2ybw q/XtATb8fPHpC5dIWM1ySmVUlqe7GTGWQ44ovADbb2Px1btNxgU6xnJIdP6EXtDDImNH 2xn/9nBd5H8ni0sLGM3M7ib+BQ5wJZNLFZbjMJ+QY7qK4r4/Jb18r7/s23ZJOBYfZSpx XHtZDtKTUJaZSTCymRMEvaseifSGrFezQfOoG7w0Nv3zUnRsC3bIO9HUdHYUwbTTV2yI 4Elw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725954337; x=1726559137; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z1bBLEJQRv6XQNO5RJvJalMuAghJ5XAj4sbcmKJgdoc=; b=V411aFy53kk5uM4x+OaiHwd5JWfXeD6fzjvLRvqPfXZ0yoQ1YcZyXb9cSOgsjXpF/a /jF1N6IJbEadK6AymtoNH6WL8dunyyEoxVLJYRmX19fkazOxyM3a1kdJdN/jEVXfpZlr P8wibITKHY6u8+Ckj02d/lgld2IME8HVrsOIKj54a1eoLjsNVc9u74AJtdcLkLMM8WXx C6pleNXpwzHDfjqr7M93K3Akn/JIp9f/8OzNxR9GI41kZvXW51Agb8ykkIzeAYVt0h7B s+WfRUPT/CgtFs8VdaCnd1zBUQgiT3DR/RtqAYBfOSSWlCSuYirKbEm1PGuNgQ/BSpPU Og0A== X-Gm-Message-State: AOJu0YzLINgudSHEn5bszy2YxP3nqmjBJUDegl6APiN0/ZojNS5aZZAH EDNEpYpw+q6vGLLuOqPsiFlsyymJTWLS9frAWbnzPbWUycP0rmSVOyYmJHhDkucnJg/kgAqO/9c = X-Google-Smtp-Source: AGHT+IHMq9eUJsL3gDFAB/QWM6Ex2GrX5olbkK7sGNMlPkN8CN1BMsqWkXG3xdcqHEtdAm3kUjQkIg== X-Received: by 2002:a05:600c:4715:b0:428:e866:3933 with SMTP id 5b1f17b1804b1-42c9f9d6629mr95886875e9.22.1725954337329; Tue, 10 Sep 2024 00:45:37 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956655fcsm8059267f8f.38.2024.09.10.00.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 00:45:36 -0700 (PDT) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Eric Botcazou Subject: [COMMITTED 7/7] ada: Include missing associated header file Date: Tue, 10 Sep 2024 09:45:21 +0200 Message-ID: <20240910074521.448168-7-poulhies@adacore.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240910074521.448168-1-poulhies@adacore.com> References: <20240910074521.448168-1-poulhies@adacore.com> MIME-Version: 1.0 X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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~incoming=patchwork.ozlabs.org@gcc.gnu.org From: Eric Botcazou memmodel.h must be included alongside tm_p.h for the sake of the SPARC port. gcc/ada/ * gcc-interface/misc.cc: Include memmodel.h before tm_p.h. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/gcc-interface/misc.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/ada/gcc-interface/misc.cc b/gcc/ada/gcc-interface/misc.cc index 645937f796c..2aa1bfd410b 100644 --- a/gcc/ada/gcc-interface/misc.cc +++ b/gcc/ada/gcc-interface/misc.cc @@ -28,6 +28,7 @@ #include "coretypes.h" #include "target.h" #include "tree.h" +#include "memmodel.h" #include "tm_p.h" #include "diagnostic.h" #include "opts.h"