From patchwork Mon Nov 4 16:10:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 2006318 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=KCpx8hsx; 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 4XhxTX4wJSz1xxW for ; Tue, 5 Nov 2024 03:18:08 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF723385AC30 for ; Mon, 4 Nov 2024 16:18:06 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id F28423858280 for ; Mon, 4 Nov 2024 16:11:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F28423858280 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 F28423858280 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730736720; cv=none; b=cJ12uvKBSTzyYkd6Ri9sXVVm5tgANK8jIhh5JCuUHu2E6DF1qfVPF+qQj8vo2RjHCFOi5eu71IfYwmjQBWis5ttXSn6wNNDREnx6EubtN8u0YyJuj3MEQHly3BwtWvMThpFAL4vVYwfiV4J/2pVdxf+A0K7BRaPBG3vYZm4HCf4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730736720; c=relaxed/simple; bh=C3OFTDtC8MTrV22vTZPptAAZxH1YuUp/6JRQR7EsAGE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ZPpmRm+rupb/aW/Z5tyR7IgHWbPkqXDRWSuAJQ7FkmbhacXLh2hHiBiy5DrvbJJMYcRCYW5ZYF21S9Ue9WMgHgydjCbTMnR3YMDMazwxHcwKqFIdkzvh7J/5n6vqaXyaP3aJeyt6GZtLfXiOdG1fp0rXjZLpMpD7wDRwrP6LA9U= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-431616c23b5so26499795e9.0 for ; Mon, 04 Nov 2024 08:11:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1730736699; x=1731341499; 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=DhAK3V1AxuMf153HUFsZvMWsZRR3i8USUzfZ4MUj/fw=; b=KCpx8hsx5mjpxqETcmhHDIpD0Vtrqwd6uPxNMCugscLRMraHfUJQoQoAZBd2wPYRfz zfBNX8k4FiixMAotagDPqqs6fAhDkOUnAL6ijXznr4+h1bhKUPKmQoE+DzGaht/kiEfV jpE6Q8CwlzAtD2ucLiDKyDNuU75ICNOjaeOKIscnq2758KGTcesLBsSZK2UNeFJCMGxU yT0JLrgl1rBlgdaOjvzA7AzEdcF4OgqecZ//1rbPYyYDpfV5oUKhWn3n8uGuymN2IPMM YBNA1iYDD+486P6Z9zHDIZxgaUt4lFAOvXVtFsOxomteF8n7o1uD9WJkkmBvsM46crci 6SXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730736699; x=1731341499; 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=DhAK3V1AxuMf153HUFsZvMWsZRR3i8USUzfZ4MUj/fw=; b=j7kFdxIc6ggwuWAGzE2XkYXSeQOXkrsw3ppC+67pRoYEu0AmwP4M8NLP+O9Pd+lRG+ vKg/f9OKbXOGy9jE2hlntqq+oX80DZcerPu3ACPKRPwZ6M8QDvo0YTbZJkVDce92qXBs pw1OcVC7RGTW3Z83+/sTW5eL3uFebvMUmjwHIoVZ5UaUZpI+LS/0etd5s02rExVrQieh oXxJ2Hy1FwgWMa1GQUq6ZTdegf8hyAugNY/Pv04Mcc782wXkjZG+Sxr9VIy4bG693n1o uwC8M05Zy1M9aIdlmZHmejdOKDSa9w+IpyKj7E2ZrKfkvGrhF0CX/154jOL6jgG78UlT KbYw== X-Gm-Message-State: AOJu0YwQy7wrAxKoWYQgW6pRQdShImsZPX8CDxjbElV0lv+Dd9qwKM1F 7iXwCeaXxxxoF/lfv4OcTwyVFraaf/Blvjs+mI01Cjs4Jpbd7FPyqP6VE+regWULJRN4TWnbcEQ = X-Google-Smtp-Source: AGHT+IEOGCp8iCe/aAlVBX8UGLHWH5JIB2vN5iKgXMtqjUNhWWHaAxHDhq3IK8oiaAJ3eJOK2jfqcw== X-Received: by 2002:a05:600c:45cd:b0:42c:b98d:b993 with SMTP id 5b1f17b1804b1-4327da72175mr121042525e9.2.1730736699501; Mon, 04 Nov 2024 08:11:39 -0800 (PST) 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-381c10e747csm13574463f8f.64.2024.11.04.08.11.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 08:11:39 -0800 (PST) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: =?utf-8?q?Rapha=C3=ABl_AMIARD?= Subject: [COMMITTED 17/38] ada: Fix error message for pragma First_Controlling_Parameter Date: Mon, 4 Nov 2024 17:10:52 +0100 Message-ID: <20241104161116.1431659-17-poulhies@adacore.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241104161116.1431659-1-poulhies@adacore.com> References: <20241104161116.1431659-1-poulhies@adacore.com> MIME-Version: 1.0 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: Raphaƫl AMIARD gcc/ada/ChangeLog: * sem_prag.adb (Analyze_Pragma): Fix format for second line of warning (should be a continuation line) Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/sem_prag.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/sem_prag.adb b/gcc/ada/sem_prag.adb index 00df728e950..9a3e7acf34f 100644 --- a/gcc/ada/sem_prag.adb +++ b/gcc/ada/sem_prag.adb @@ -17906,7 +17906,7 @@ package body Sem_Prag is Error_Msg_N ("?_j?'First_'Controlling_'Parameter has no effect", N); Error_Msg_NE - ("?_j?because & does not implement interface types", + ("\?_j?because & does not implement interface types", N, E); end if;