[{"id":3681183,"web_url":"http://patchwork.ozlabs.org/comment/3681183/","msgid":"<aelAK3aggkzF0FUh@tucnak>","list_archive_url":null,"date":"2026-04-22T21:39:55","subject":"Re: [PATCH 4/4] ipa: fix 'writing' typo in comment","submitter":{"id":671,"url":"http://patchwork.ozlabs.org/api/people/671/","name":"Jakub Jelinek","email":"jakub@redhat.com"},"content":"On Wed, Apr 22, 2026 at 08:07:30PM +0100, Sam James wrote:\n> gcc/ChangeLog:\n> \n> \t* ipa-prop.cc (param_type_may_change_p): Fix comment typo.\n> ---\n>  gcc/ipa-prop.cc | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n> \n> diff --git a/gcc/ipa-prop.cc b/gcc/ipa-prop.cc\n> index dee7632eef0c..cb89934ee385 100644\n> --- a/gcc/ipa-prop.cc\n> +++ b/gcc/ipa-prop.cc\n> @@ -929,7 +929,7 @@ static bool\n>  param_type_may_change_p (tree function, tree arg, gimple *call)\n>  {\n>    /* Pure functions cannot do any changes on the dynamic type;\n> -     that require writting to memory.  */\n> +     that require writing to memory.  */\n>    if (flags_from_decl_or_type (function) & (ECF_PURE | ECF_CONST))\n>      return false;\n>    /* We need to check if we are within inlined consturctor\n\nThere are more occurrences of this:\ngcc/ada/sem_ch8.adb:      --  object reference since there may have been several rewritting and\ngcc/ada/sem_res.adb:         --  example from rewritting a membership test.\ngcc/d/dmd/expression.d:    /// Since most constructor calls are rewritting, the only place where\nlibphobos/src/std/logger/filelogger.d:      file can not be opened for writting an exception will be thrown.\nlibstdc++-v3/include/std/format:  // (_M_maxwidth). The handling is done by writting to buffer (_Str_strink)\nThe D changes probably need to go in separately.\n\n\tJakub","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=RNyvBEja;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=RNyvBEja","sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com","sourceware.org; spf=pass smtp.mailfrom=redhat.com","server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.133.124"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g1Cd63lXHz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 07:52:42 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id B00E84CCACE1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 21:52:40 +0000 (GMT)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by sourceware.org (Postfix) with ESMTP id 28CB7462D004\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 21:40:04 +0000 (GMT)","from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-332-qqA58BcJP9GLkusMGGINdA-1; Wed,\n 22 Apr 2026 17:40:00 -0400","from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 295D11800358; Wed, 22 Apr 2026 21:39:59 +0000 (UTC)","from tucnak.zalov.cz (unknown [10.44.48.12])\n by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 8A2EE1800446; Wed, 22 Apr 2026 21:39:58 +0000 (UTC)","from tucnak.zalov.cz (localhost [127.0.0.1])\n by tucnak.zalov.cz (8.18.1/8.18.1) with ESMTPS id 63MLdtDW4040335\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Wed, 22 Apr 2026 23:39:55 +0200","(from jakub@localhost)\n by tucnak.zalov.cz (8.18.1/8.18.1/Submit) id 63MLdtm14040334;\n Wed, 22 Apr 2026 23:39:55 +0200"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org B00E84CCACE1","OpenDKIM Filter v2.11.0 sourceware.org 28CB7462D004"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 28CB7462D004","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 28CB7462D004","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776894004; cv=none;\n b=vDF4gOX2/NYmtZ7uJHkt74pjU94bXNTpHgOzzeicY6jNnVzyT4tfD0BGrHPGV+eyh6RZCSzhTQdlsAgexTwMypQ88HNQCARlndROQzxl0a88g+4nRLS0Teznd4dHGuadO6WYlR9fzVuA5Ad93s6bfIkEWr30xPPL7hPlwBxagag=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776894004; c=relaxed/simple;\n bh=0UOYn8+dA3MoNin/MB9yzSlh+HrRDUl85Tt1zrnZcBY=;\n h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;\n b=lTpMhFtyvYGC7M1c7BT0Sj+3jC4R373cQQXdgdr/xkBHLBiteZyRrQAhtawLkyfJPsMPB2N1m8T2nA/Sbvx/YYzwi0ZLpb5Q7m399zD+8Q4SFqreZiWT7sEFRDNIOeOoWO39QUspbQgVR82VCNT+mPAu+xLcZCzuIUi9JY8W42c=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1776894003;\n h=from:from:reply-to:reply-to:subject:subject:date:date:\n message-id:message-id:to:to:cc:cc:mime-version:mime-version:\n content-type:content-type:in-reply-to:in-reply-to:  references:references;\n bh=d1oRt8gF+oRXLfR0X5cFqjAKv60QSyGkhL1mK4xknWg=;\n b=RNyvBEjaoDndg0Vfb0vfMpzNYo2dgFxsT+Hyn6i6VCRZLrgxZeiAS27DGawUH0RBtJWSLI\n PZqu4tU/bOPCicRXlZQ2RajaDYZGQnqaSZSsJsJ8m8dQjgy9UgqTz9zzcKvakqSJr+S5jH\n JFxULqSk/5xVtBhJRf6Qhy6Tm1Pi+ZE=","X-MC-Unique":"qqA58BcJP9GLkusMGGINdA-1","X-Mimecast-MFC-AGG-ID":"qqA58BcJP9GLkusMGGINdA_1776893999","Date":"Wed, 22 Apr 2026 23:39:55 +0200","From":"Jakub Jelinek <jakub@redhat.com>","To":"Sam James <sam@gentoo.org>","Cc":"gcc-patches@gcc.gnu.org","Subject":"Re: [PATCH 4/4] ipa: fix 'writing' typo in comment","Message-ID":"<aelAK3aggkzF0FUh@tucnak>","References":"<cover.1776884845.git.sam@gentoo.org>\n <a0cdab3b4ee19b143133d4de92c3fd7849790a85.1776884845.git.sam@gentoo.org>","MIME-Version":"1.0","In-Reply-To":"\n <a0cdab3b4ee19b143133d4de92c3fd7849790a85.1776884845.git.sam@gentoo.org>","X-Scanned-By":"MIMEDefang 3.4.1 on 10.30.177.111","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"pdD3RNhQ_8NPFLHn4YhRLK8XcBMvDXV9ob9nYN_Cs9M_1776893999","X-Mimecast-Originator":"redhat.com","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Reply-To":"Jakub Jelinek <jakub@redhat.com>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}}]