From patchwork Tue May 21 07:30:27 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: 90548 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 2A122385842D for ; Tue, 21 May 2024 07:39:30 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by sourceware.org (Postfix) with ESMTPS id 692DE3858C3A for ; Tue, 21 May 2024 07:31:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 692DE3858C3A 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 692DE3858C3A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::12b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716276669; cv=none; b=E+99W17T9Qts5mA3IKoqq5dVALHXQZW4x0w550xM5Kix/2XOa/7NaeJwVqQxhpDS23rPBND61t2V6421XyyCW5NJfHObewNlYtT4C41V7Q1zWAFMr8yzJ/LMLkCmQgogi3Br6o3OrCpXzVQYb+q7uc18iYyXq2HzZI0hlzmicRM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716276669; c=relaxed/simple; bh=A5hoUGNamqINoLPC61xx5O6iHgQtno5T4CvJtA5SoBc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=FJYPFKUW4qrUGY63BsSCzojZ+ITH/rhZS8tATS9R0f1ZC7rEotW6to4/Eso2bHtrfWBZMA8zfMRH6THpuKM8un7a/5LqAMm4aYSxPQCr8gFzAPn47kncwvh/x12WKSKijYQMoFDmXtrsy2Fw8afWgcJI4Kj5FS6gmYGudVTbSZY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-51f2ebbd8a7so6185516e87.2 for ; Tue, 21 May 2024 00:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1716276666; x=1716881466; 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=nEEvYPoET72cnaO0eYC3KG6XlFXcHLVjICWBaIwuQQg=; b=iGM2mKixlU6rkR9ucATpKeaTEU32bwxxV2DJ6AdwrJKJhfWIvKgCEidrvVAH87ypYG kAfq9T9G2XzwATbmWbfL2KBf7CDQ7/PZREPGv/B+8UXRzCcSIGR9VvBFxIBb74mNCRjI b9hY+GIO5FNMR5d8FzhwOtrZrl0nYTaN6sFRA2EEFyvxnRlYQgpaeV0b+PNlTBrokzVf SmA+HsMpraSyJI4kCUy/afyk88Lm6Hs5F5mCmCWs3N+xz8xLu0SWEOqOUx/QkGmpamni jPPr4RZtnEl7vxLeyaTX2fqxNhMJvMy3/MEYC3fomHBeFKn7ZL8liO84VljX/LY0dCvs vTPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716276666; x=1716881466; 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=nEEvYPoET72cnaO0eYC3KG6XlFXcHLVjICWBaIwuQQg=; b=Vd/QLwvWns4LhPgMpLCnJlk1ucPrN5chz4KIn5Q9LQuWktJ88Bygu7xIgbqBxv1mPT dfNRQ/8VTh2thwBMPuCq78yI6KKUYHG+X+rUKutF78x67mvr+C5C5x2JcYgCeWDdfL3n 1ovVJM7chZ9ZjcfAYuGMuME5fCGJrj3N0OXycxchFRJJOQuCmZMBwF6GqZP97zTQDw9B YGQCvlevPlxA/HOI/0/ElXWoWnSnaNOP9nNlivkaWJWTTViwT/7uhHevfEDnoK49x+Zk ortON/eWC7gWRHH40rJButHlG5y3oir5e4rPVx5vsAWFHbKDmW4veUlSmzdk8lo8SZi5 ir2A== X-Gm-Message-State: AOJu0YySYh6A0TY5MGq70z0zffKuLP1NbVC53GFtOjEXvKeXIAgj/WAE uOqvIwm/jhBEHTk8P7qs8CaRFyKv4uE9vQ6wpd2hNgrf8P/H9G9kKD1PyiXpmDibWv7t6VeTDIA = X-Google-Smtp-Source: AGHT+IEBBOulgeJwaZ/AqUY1WJfWo1ztNg/Bf0/H0tV/IIXrL2XtBXcdOVbgpczb45ZK+R3UpA2uNQ== X-Received: by 2002:a05:6512:2201:b0:520:36ab:10b9 with SMTP id 2adb3069b0e04-5221006cdbdmr26609847e87.61.1716276665945; Tue, 21 May 2024 00:31:05 -0700 (PDT) Received: from localhost.localdomain ([2001:861:3382:1a90:de37:8b1c:1f33:2610]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccee9292sm453333645e9.37.2024.05.21.00.31.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 00:31:05 -0700 (PDT) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: =?utf-8?q?Marc_Poulhi=C3=A8s?= Subject: [COMMITTED 24/31] ada: Minor typo fix in comment Date: Tue, 21 May 2024 09:30:27 +0200 Message-ID: <20240521073035.314024-24-poulhies@adacore.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240521073035.314024-1-poulhies@adacore.com> References: <20240521073035.314024-1-poulhies@adacore.com> MIME-Version: 1.0 X-Spam-Status: No, score=-13.8 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+patchwork=sourceware.org@gcc.gnu.org gcc/ada/ * gcc-interface/decl.cc: Fix typo in comment. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/gcc-interface/decl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/gcc-interface/decl.cc b/gcc/ada/gcc-interface/decl.cc index e16ee6edac5..0987d534e69 100644 --- a/gcc/ada/gcc-interface/decl.cc +++ b/gcc/ada/gcc-interface/decl.cc @@ -5629,7 +5629,7 @@ gnat_to_gnu_param (Entity_Id gnat_param, tree gnu_param_type, bool first, by_ref = true; } - /* If we were requested or muss pass by reference, do so. + /* If we were requested or must pass by reference, do so. If we were requested to pass by copy, do so. Otherwise, for foreign conventions, pass In Out or Out parameters or aggregates by reference. For COBOL and Fortran, pass all