Message ID | 20231025192420.3276488-1-jason@redhat.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp185179vqb; Wed, 25 Oct 2023 12:25:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHmRUCC1mIvqxbbsDZedSaRLwYlyHsPn6uXn7HDjvZtLTX4uq6h/jSIvc4bMKv+OC8Zv2H X-Received: by 2002:ac8:5c47:0:b0:40d:4c6:bcf9 with SMTP id j7-20020ac85c47000000b0040d04c6bcf9mr17358573qtj.7.1698261901254; Wed, 25 Oct 2023 12:25:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698261901; cv=pass; d=google.com; s=arc-20160816; b=w5tWYuHClIl44PPL44YR6RJhA/xnYVOG8D7nayKZaON+kkokoOlrDrMjMgCz8Mwzjq /FXBen3OlS9tfTVHig/qyNeRluJIf+l4CukvPxYEEqBEgxyCTdCOJgkzYqu9r07GpWMU nSzRbwTCbTI9GC/hlVWfYBP8FqUF3P1lM5d9NILilo8rLCs03ztKmDxnFcRXtzqaOhxl oWYkLEo6nvztPXtFIEuFxewz06hYOklXDhsWaVPezi/gyQGEidn9HRrXRQb1v35VptoJ +6UIO5gk1MdFfACRQdqabAkC5PJkKFpLEP+9S9AMwOteynQGdWROKSYUQE8iFMyqwQaj u3Lw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=Q0BoLqP9RxywFnmZ/LmcLuxFx+JJdPIe8XL7dK64qfo=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=kgjiojMV305XlwQ1vMTtWRfguYq1k076LWT55SQh7WSvu8N62BAOpw4TbPlFBnD9m/ rARgNgxxgbi5i0BoyKbrog5XsmFAkXWqrVJktxfwuNOng/c2Q88lK9pM962XZdTqsKmQ 3zQk6zm49xu+4yVXc+Iio/jWtMVTelSTYjv/gWvIRamFPVpFHMB5BXyerCiVaumoAC/Q ASiiQ/lbz+BA2P06vIoZ2adCK4NZwNMmHTeUo382zIHRG+qylsF+ymPNZ1oJbi5X2Faa mmnfJNs1ND2e+K58+idrl3SSfMkKEo0eyVfoRugA8kwq094IeP1/KU4KYX4qddE0vMao A3oQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=clajNRX2; arc=pass (i=1); 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id l2-20020a05622a174200b00417fe762ebasi8809093qtk.501.2023.10.25.12.25.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 12:25:01 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=clajNRX2; arc=pass (i=1); 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 09B1F3857438 for <ouuuleilei@gmail.com>; Wed, 25 Oct 2023 19:25:01 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id D339F3858D33 for <gcc-patches@gcc.gnu.org>; Wed, 25 Oct 2023 19:24:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D339F3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D339F3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698261877; cv=none; b=rljhgDgi2YgwVBCjICGHC7+3ozub63s7M4RXFbcDHj2fqY3exDs0N5wTj4gD0Z3BzYlLLSwFvaBI3cO1Yxepc+5EN9c1uueD7fgDwo9VWKZSICcnqh7rYKTa7YeInrrUkjkQUSWjNE4ZoonofydqtlLUAD/6jQ6U9AxYmYQktNQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698261877; c=relaxed/simple; bh=T52ceJWRWhAJr5hsWNMYZHBC8V5lgnYK5LW54A4zRFI=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=vxePvYvBmy23fmQmlYfwu6MS0YldR8aWI234e1ETaFbvzin7ewDqzwKuvi2B6ZJjLmaHMIo9Nmja75hoh+WOGQ8K78jKwrbBTuvOBgC5g3AhUmzRfWty+nttkMg/oeRqOeX3xef+4a90eimhJbXbB1MTTL5X+D7yWT1ftBLnWxs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698261876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q0BoLqP9RxywFnmZ/LmcLuxFx+JJdPIe8XL7dK64qfo=; b=clajNRX2R/k0lnNRKqb6baNgZlGnUTlnfgyOiVXUSb+TOtkFbXiU7mBEvmmCvkjmlI/qWe MAqUgNDfnkETnC5yXrDd79mu5simMtLbnKEpmNsPDjBsTD4k9bk2Xd4FQ45WvyxtcZMhkw 0BqAjbA3nnerS4rS7ykUrQjCZYyfgP4= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-516-k5UvRbT-OuGkpdyCeurlYA-1; Wed, 25 Oct 2023 15:24:25 -0400 X-MC-Unique: k5UvRbT-OuGkpdyCeurlYA-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-66d12b547e2so1699686d6.0 for <gcc-patches@gcc.gnu.org>; Wed, 25 Oct 2023 12:24:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698261864; x=1698866664; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q0BoLqP9RxywFnmZ/LmcLuxFx+JJdPIe8XL7dK64qfo=; b=RNIUBMCqcM2AmVi8xUjmMM+wXItacKxQfWtqziEPa8dvY6mF5EmihrDheoT/52a2Y7 7mu+7BIph0rAzvqUGmb/5zCnI1gvbfyOJLicxNTBYnvMVBvRX8zN0dlBKYPuYTGfYzAI 4iT2iNEVyIGbxqoXLA0IZKHIEWtOz6yv+1AIokilESSD06H4nUk8Ii/1xZv2zZ+bsm3E BWmYNkdNY3Oa4Lvuu9dbCPzwIkHgU1jtDP+mEx0ppnoFc99pNHZD6m0LTTS60RYqBOGA c+ICk+jLVfQRGTbWsSNaZ94Jw4d3DDn2EogxiqeSic3FoQg/MSpLVhEH2bDCXg3n2hYC jmXA== X-Gm-Message-State: AOJu0Yx9NRPTeOPYep2F6Rsds0yZAwIZ/xzOD1Ti7BkYLIkXPM+dM+8g I3MW/qIcxaAdkQ2tE9L84tsX+8JohObM30j72n6rQHDeX6yt7qXy/SdTGpTdln7UCTYNI54IkXK aHipwrA8vPNob6TfVxXiTrmnufXF/YWKqLulAnMOxOu03o/5VRCGv3F7FIovzF6vn4HjTMx6MCQ == X-Received: by 2002:ad4:5b8b:0:b0:66d:4df1:cb0b with SMTP id 11-20020ad45b8b000000b0066d4df1cb0bmr18825938qvp.50.1698261864528; Wed, 25 Oct 2023 12:24:24 -0700 (PDT) X-Received: by 2002:ad4:5b8b:0:b0:66d:4df1:cb0b with SMTP id 11-20020ad45b8b000000b0066d4df1cb0bmr18825921qvp.50.1698261864163; Wed, 25 Oct 2023 12:24:24 -0700 (PDT) Received: from jason.cygnus.csb (130-44-146-16.s12558.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.146.16]) by smtp.gmail.com with ESMTPSA id lf18-20020a0562142cd200b0065b21b232bfsm4623230qvb.138.2023.10.25.12.24.23 for <gcc-patches@gcc.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 12:24:23 -0700 (PDT) From: Jason Merrill <jason@redhat.com> To: gcc-patches@gcc.gnu.org Subject: [pushed] tree: update address_space comment Date: Wed, 25 Oct 2023 15:24:20 -0400 Message-Id: <20231025192420.3276488-1-jason@redhat.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <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>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780756671352769676 X-GMAIL-MSGID: 1780756671352769676 |
Series |
[pushed] tree: update address_space comment
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Jason Merrill
Oct. 25, 2023, 7:24 p.m. UTC
Pushing as obvious. -- 8< -- Mention front-end uses of the address_space bit-field, and remove the inaccurate "only". gcc/ChangeLog: * tree-core.h (struct tree_base): Update address_space comment. --- gcc/tree-core.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) base-commit: 406709b1c7b134a7a05445837f406e98c04f76f0
diff --git a/gcc/tree-core.h b/gcc/tree-core.h index 4dc36827d32..13435344401 100644 --- a/gcc/tree-core.h +++ b/gcc/tree-core.h @@ -1082,10 +1082,11 @@ struct GTY(()) tree_base { unsigned spare1 : 8; - /* This field is only used with TREE_TYPE nodes; the only reason it is + /* For _TYPE nodes, this is TYPE_ADDR_SPACE; the reason it is present in tree_base instead of tree_type is to save space. The size of the field must be large enough to hold addr_space_t values. - For CONSTRUCTOR nodes this holds the clobber_kind enum. */ + For CONSTRUCTOR nodes this holds the clobber_kind enum. + The C++ front-end uses this in IDENTIFIER_NODE and NAMESPACE_DECL. */ unsigned address_space : 8; } bits;