From patchwork Tue Mar 8 19:32:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 51802 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 4F6E33858025 for ; Tue, 8 Mar 2022 19:32:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F6E33858025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1646767966; bh=b10xa1F9j3q7XCKZ0wLPm2Si0hp3tv/YFHAjDbL3KAo=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=eKocBHX3gVyODZuVgxPuc/RoUTawIjTdCJuJ685qzBlYYVNe2eRMC5OtzHsJEASBu xqWCmrSQqJByAuHiN1Kc6dSQqeT+PwXtO5gFHN8w0bUe82ZnIN+yy5mY4xZwVHmUrF 30mU0TMjTfm5mk1yAH+/3jOoTaEKpI4k5kSqEjM8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id AB0E13858D35 for ; Tue, 8 Mar 2022 19:32:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AB0E13858D35 Received: by mail-wm1-x32a.google.com with SMTP id v2-20020a7bcb42000000b0037b9d960079so2067163wmj.0 for ; Tue, 08 Mar 2022 11:32:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:reply-to :mime-version:content-transfer-encoding; bh=b10xa1F9j3q7XCKZ0wLPm2Si0hp3tv/YFHAjDbL3KAo=; b=OnZYvexAON2YVws1Dhz7GQDnGhE79WkSSKUljBYn7TTxmPu85a/Ke5NYBempEvrkLY lBZbbmJbLOr2F+PAup0BGJB1fTPuEbnogya93SEMmpQibcWu6h/dwPIqV7TG750387IK ExGT8hl224UL3favjLFxzktM/ydZVHp7p3JdM9aUQeAqPONilEbsDWSwwVaoT+FE3eLd U4wKsoZ/E1qAsDU83poDwTl1fH4LmJ0DWvsku+BUHmSOP/HssWrtgrBme5ruhM1reUBW G4YewOVVKqsXY7LdWlj5+StZrgfKWbK/CHTMy7KUFA6FUEJWwx/+OQGSYMNDw/2vRfS6 4Vtw== X-Gm-Message-State: AOAM531jjwRQapVqBhMfSuBGV0dWpLuaqIyzCkudWpDtISgVJdNFEw5y Gyc8rf3KysDxJoavGFpDG2R9bmSAt+M= X-Google-Smtp-Source: ABdhPJxp5lFni+dAHcF2SzcphfQPVyKToeT6tUVszagiqRvAW88DDLIx2qtArCJeHYkliZaN30M8GQ== X-Received: by 2002:a7b:c954:0:b0:385:6e61:aea6 with SMTP id i20-20020a7bc954000000b003856e61aea6mr605549wml.91.1646767936550; Tue, 08 Mar 2022 11:32:16 -0800 (PST) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id f22-20020a1cc916000000b00380d3e49e89sm2909845wmb.22.2022.03.08.11.32.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Mar 2022 11:32:16 -0800 (PST) X-Google-Original-From: Iain Sandoe To: gcc-patches@gcc.gnu.org Subject: [pushed] Darwin: Address a translation comment [PR104552]. Date: Tue, 8 Mar 2022 19:32:09 +0000 Message-Id: <20220308193209.20766-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Iain Sandoe via Gcc-patches From: Iain Sandoe Reply-To: iain@sandoe.co.uk Cc: Iain Sandoe Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" This amends an error message to correct punctuation and a little better wording. bootstrapped on x86_64-darwin18, pushed to master, thanks, Iain Signed-off-by: Iain Sandoe PR translation/104552 gcc/ChangeLog: * config/host-darwin.cc (darwin_gt_pch_get_address): Amend the PCH out of memory error message punctuation and wording. --- gcc/config/host-darwin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/host-darwin.cc b/gcc/config/host-darwin.cc index d4289aeb4d3..01554d565f9 100644 --- a/gcc/config/host-darwin.cc +++ b/gcc/config/host-darwin.cc @@ -104,7 +104,7 @@ darwin_gt_pch_get_address (size_t sz, int fd) space. */ if (addr == (void *) MAP_FAILED) { - error ("PCH memory not available %m"); + error ("PCH memory is not available: %m"); return NULL; }