From patchwork Mon Nov 14 22:03:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 20049 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2386356wru; Mon, 14 Nov 2022 14:04:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf7kyLhrNPSH9hAJZp8p3vTX12Ji6Ynw7C0sDN/W5M/brdwpuAavZ8LqjMLzPhwoS/JBo6Tr X-Received: by 2002:a17:907:2074:b0:7ad:d411:30af with SMTP id qp20-20020a170907207400b007add41130afmr11640048ejb.636.1668463471284; Mon, 14 Nov 2022 14:04:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668463471; cv=none; d=google.com; s=arc-20160816; b=mDCxGP4LOCp+CUG71JdS76rex8OKbOG5sSg/FcaSJ1v9QZ9VgVC5952yKp1dSnDDk2 bky2GvMwDEP3X/ws46EnpCDtFPCiZqWhEbl/RE8WTGhbvWgyVyNJbT8S2cIwy+nA7hQi TqQirxZUr2T6waE0vESDxPdD0EyCbyVN7GwxG3pSw4fsL2ydk6txgeDAvtePBlWTFEO/ berf/hDkO8Hg6ZmQO58VJcouaTwcKzVbKmWHhcRcTLjpyyiL0YqywE301z8s7dE7+uCx dr5hLzh1F9HZN4e9qlxRZ7omEqdFs8YgQUfWLWeaWROEIZX4QzMnA3qVtt2tcOT9bZnd 3mWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:subject:to:from:date:dkim-signature:dmarc-filter :delivered-to; bh=bvaKP/K0INgvCiGWjI/hd4qm6EAiekbh/gv2URvVuxk=; b=reB8NTzy96qAhAgtakYqQKXSp2WjIk1ylxn+9lTQgIAujJ/ztgYL4F5sl+ngX28Qto CCCIcK+a/vN7QNG8UXgeO4hQYCRURoIYD9ZGReqF/SaQAcv8E3rG08V4T5XxDd/2FtLI o3OPzMpfW31al/vtvrO/b2gwLdZNfT0+PHQs/FpMQNyuuqS4RBosRXHbakS6hG/Y8Bwv vuKtyESxES12IRV+/zKdAPHw91SsiB0lKD6msCLK3khXGNnNEQsP8aFy3/d/EZV4YrdT Nn5x46mtKh2oMa4q2BsUkuEpJyALcgAsRIr+TpGnvB7yFxTjuv47Sfn/VM/Ew/dqzXLE aVXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=Ry2iVXvF; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id s6-20020a170906500600b0078a802cce5dsi8272729ejj.592.2022.11.14.14.04.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 14:04:31 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=Ry2iVXvF; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1BD513858414 for ; Mon, 14 Nov 2022 22:04:27 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by sourceware.org (Postfix) with ESMTPS id 304893858D1E for ; Mon, 14 Nov 2022 22:04:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 304893858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-lj1-x22d.google.com with SMTP id b9so15168766ljr.5 for ; Mon, 14 Nov 2022 14:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=mime-version:user-agent:message-id:subject:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=bvaKP/K0INgvCiGWjI/hd4qm6EAiekbh/gv2URvVuxk=; b=Ry2iVXvFUWUHpDIKBJVbck3RclOwNiJZKzTonmdsF4D0kLumjfBDlg7DUL6F3Q+aTk nNuF2sqEJetuCA9p8GpfrUOI3IW54juloSGwx70cY+fy6+VFDGsURmeS9/thyH78/4Tw K+T9MGA6Ll7H5nBQkZuuhHd5dcnTiB0LERln2Um9pnYQ3gkwmp3ebE/BZh20obUTrYbP Bzfpo6ht/mAczbY6NKhO4i91aUWA0SOUkOmcT9UV2Sfm33QT2WNf6gDguf+NGMHQJnCD ogfDiuF+AN13urP3o+zA/GuhgoNqBYjxXNp1C1Lnt10uIH8fsoBC4chUdgHjKOwG3H+H D9xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bvaKP/K0INgvCiGWjI/hd4qm6EAiekbh/gv2URvVuxk=; b=PcryT7CnMt//8C7o53bdseaGOg+Sg400NlOS+nYhK9+l9bIwvqQxXtU9SbCKsCTmtU DeDPmpc5sSoUFMN7DMDik8AiQsiJzSu3hVuRMhpdhZkTmOxAlshGx9t21snEK3nHZ6Pu ABnUAjTDDGok420pApPAW0rLiSoXGSKVKE/OX1cUmP/1+X15+LgPTdITaLT2n6HQRqBF DHQAffHFKc/dD4Kl6WYkVWiuHJqSBE45u69KbTG0WoR7d9x6Y8Fq8uYBRxXYHHyTpP12 nioobdLSnAXV3qHX2uNF2ZrSfMTrPbh/TazG9blwX7Z2+UoE3XlQKC4Put6En6aHfPTn tdoQ== X-Gm-Message-State: ANoB5pn2ynEvWKHAZWy9WQtU8VqpucTby0NYPpVn78KSmZ6ZkazV+s92 kxkk4I4SOlZaQVyYjyjD4gpSBVALUN1LUztL X-Received: by 2002:a2e:9913:0:b0:26f:a402:51cc with SMTP id v19-20020a2e9913000000b0026fa40251ccmr5295462lji.208.1668463440524; Mon, 14 Nov 2022 14:04:00 -0800 (PST) Received: from [192.168.219.3] ([78.8.192.131]) by smtp.gmail.com with ESMTPSA id l10-20020a056512110a00b004948b667d95sm1968925lfg.265.2022.11.14.14.03.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Nov 2022 14:03:59 -0800 (PST) Date: Mon, 14 Nov 2022 22:03:56 +0000 (GMT) From: "Maciej W. Rozycki" To: gcc-patches@gcc.gnu.org Subject: [committed] ira: Fix `create_insn_allocnos' `outer' parameter documentation Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749510753048865699?= X-GMAIL-MSGID: =?utf-8?q?1749510753048865699?= The parameter of `create_insn_allocnos' for any parent expression of `x' has always been called `outer' rather than `parent', just as added by commit d1bb282efbf9 ("Fix for "FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_x_tst.o compile, (internal compiler error)""), . Correct inline documentation accordingly. gcc/ * ira-build.cc (create_insn_allocnos): Fix documentation. --- Hi, Committed as obvious. Maciej --- gcc/ira-build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) gcc-ira-create-insn-allocnos-outer-doc.diff Index: gcc/gcc/ira-build.cc =================================================================== --- gcc.orig/gcc/ira-build.cc +++ gcc/gcc/ira-build.cc @@ -1832,7 +1832,7 @@ static basic_block curr_bb; /* This recursive function creates allocnos corresponding to pseudo-registers containing in X. True OUTPUT_P means that X is - an lvalue. PARENT corresponds to the parent expression of X. */ + an lvalue. OUTER corresponds to the parent expression of X. */ static void create_insn_allocnos (rtx x, rtx outer, bool output_p) {