[{"id":3677387,"web_url":"http://patchwork.ozlabs.org/comment/3677387/","msgid":"<a268a453-4dd8-4076-9ca4-4331a97840e0@redhat.com>","list_archive_url":null,"date":"2026-04-14T20:11:13","subject":"Re: [PATCH] c++: static local meta::info as &targ [PR124824]","submitter":{"id":4337,"url":"http://patchwork.ozlabs.org/api/people/4337/","name":"Jason Merrill","email":"jason@redhat.com"},"content":"On 4/14/26 3:53 PM, Patrick Palka wrote:\n> Tested on x86_64-pc-linux-gnu, does this look OK for trunk?\n> \n> -- >8 --\n> \n> We're crashing in discriminator_for_local_entity for a static local\n> meta::info variable because determine_local_discriminator is never\n> called for it from cp_finish_decl.  The code path was disabled for\n> consteval-only types in the main Reflection commit r16-6808 to avoid\n> creating a varpool_node for such types.\n\nCan we avoid mangling such a decl so we never call \ndiscriminator_for_local_entity?\n\n> This patch naively restricts the get_create call itself rather than the\n> entire block so that we still call determine_local_discriminator, which\n> seems to suffice to accept the below testcase.\n> \n> \tPR c++/124824\n> \n> gcc/cp/ChangeLog:\n> \n> \t* decl.cc (cp_finish_decl): Sink !consteval_only_p check\n> \tso that we still call determine_local_discriminator for\n> \tconsteval-only types.\n> \n> gcc/testsuite/ChangeLog:\n> \n> \t* g++.dg/reflect/expr17.C: New test.\n> ---\n>   gcc/cp/decl.cc                        | 10 +++++-----\n>   gcc/testsuite/g++.dg/reflect/expr17.C | 10 ++++++++++\n>   2 files changed, 15 insertions(+), 5 deletions(-)\n>   create mode 100644 gcc/testsuite/g++.dg/reflect/expr17.C\n> \n> diff --git a/gcc/cp/decl.cc b/gcc/cp/decl.cc\n> index 930253d96460..23b984500444 100644\n> --- a/gcc/cp/decl.cc\n> +++ b/gcc/cp/decl.cc\n> @@ -9885,8 +9885,7 @@ cp_finish_decl (tree decl, tree init, bool init_const_expr_p,\n>   \t variable.  */\n>         if (DECL_FUNCTION_SCOPE_P (decl)\n>   \t  && TREE_STATIC (decl)\n> -\t  && !DECL_ARTIFICIAL (decl)\n> -\t  && !consteval_only_p (decl))\n> +\t  && !DECL_ARTIFICIAL (decl))\n>   \t{\n>   \t  /* The variable holding an anonymous union will have had its\n>   \t     discriminator set in finish_anon_union, after which it's\n> @@ -9904,9 +9903,10 @@ cp_finish_decl (tree decl, tree init, bool init_const_expr_p,\n>   \t      walk_tree (&init, notice_forced_label_r, NULL, NULL);\n>   \t      add_local_decl (cfun, decl);\n>   \t    }\n> -\t  /* And make sure it's in the symbol table for\n> -\t     c_parse_final_cleanups to find.  */\n> -\t  varpool_node::get_create (decl);\n> +\t  if (!consteval_only_p (decl))\n> +\t    /* And make sure it's in the symbol table for\n> +\t       c_parse_final_cleanups to find.  */\n> +\t    varpool_node::get_create (decl);\n>   \t}\n>   \n>         if (flag_openmp\n> diff --git a/gcc/testsuite/g++.dg/reflect/expr17.C b/gcc/testsuite/g++.dg/reflect/expr17.C\n> new file mode 100644\n> index 000000000000..d4f04d2c4094\n> --- /dev/null\n> +++ b/gcc/testsuite/g++.dg/reflect/expr17.C\n> @@ -0,0 +1,10 @@\n> +// PR c++/124824\n> +// { dg-do compile { target c++26 } }\n> +// { dg-additional-options \"-freflection\" }\n> +\n> +template<auto> void f() { }\n> +\n> +int main() {\n> +  static constexpr auto M = ^^int;\n> +  f<&M>();\n> +}","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=fCcLdYJ2;\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=fCcLdYJ2","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 4fwFmP4pYgz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 06:11:48 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 69CA84BA2E08\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 20:11:46 +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 995F54BA5439\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 20:11:18 +0000 (GMT)","from mail-qk1-f198.google.com (mail-qk1-f198.google.com\n [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-524-kLZvTazMPpusl3EIc-JYsQ-1; Tue, 14 Apr 2026 16:11:17 -0400","by mail-qk1-f198.google.com with SMTP id\n af79cd13be357-8cfc575fa15so1155873985a.2\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 13:11:16 -0700 (PDT)","from [192.168.50.130]\n (130-44-146-247.s12789.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com.\n [130.44.146.247]) by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8ddb5f8a238sm1186095385a.8.2026.04.14.13.11.14\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Tue, 14 Apr 2026 13:11:15 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 69CA84BA2E08","OpenDKIM Filter v2.11.0 sourceware.org 995F54BA5439"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 995F54BA5439","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 995F54BA5439","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776197478; cv=none;\n b=qNwCbiYf0L4YZAJ6EGkmDle6uRdcZ5/KG4By/kAcQkYrNF/otE6/sAZYkbp2YeGS4vnzvzq3z61oG3GNk1QCJEwfq63PJZYGESK3M3onF8nrenB4yXVfspAz5QW3THaF1HMqw17bv/5TAPoFeC9J+w6I4bKil1pQptGDl83r41E=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776197478; c=relaxed/simple;\n bh=RiaR/Sb079y351N+R1vJj/0hyByfm7auNZ25ussck5Y=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;\n b=J8EpV67WkUY/5+wY/hZaOo31uVzThPvujWVAV9GC08EfSuoL9SqLKJLJlv97SoHt3l2hbf8b9iNyP/a5f7VVhLrLaYZjSuLstvMNEZrg85/IeF8AG1vZDECUKJYZKxOp48+1hZXuzOTCxl2fjRguc+PrWaZ4xAhwrrfaJCeP/Ww=","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=1776197478;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=YQTRbbr8HoOgPy4wCeWmUhtL5QdGmxEtQgH2JyvchNQ=;\n b=fCcLdYJ2SCe49VFGdylkC6m6x5w+QK7p444jcSJPUkf8Qf0fP6qCeYOQsi6l5UDJxuCA81\n FbyYeOHSHfGWNVYjbAGo1uQogJ5mVZYyPMl8iv2S7u5nCa4kz0EoRbdFdFrnuAPJkkMW0X\n N07fvlypJD1ogl87/soxTczxsQCi+L0=","X-MC-Unique":"kLZvTazMPpusl3EIc-JYsQ-1","X-Mimecast-MFC-AGG-ID":"kLZvTazMPpusl3EIc-JYsQ_1776197476","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776197476; x=1776802276;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=YQTRbbr8HoOgPy4wCeWmUhtL5QdGmxEtQgH2JyvchNQ=;\n b=V8j5bUpHWck5LQfCWbJ84ZRQadhKV2LeT4Bwx3CyE7AnK858xeFGi9rf+HnIYU9qmS\n hmWQrR6fQG9nwyt+s2yOmMRemdFVPV+k0pYfWigs3b2t811zvLH0+sy8BHNWGRQR+Tub\n pHC4uq5Bx/IkZ+6UE/7VI/+XfDhKa5thMr9I3uUo9OqUrzEJr19nOURUkNLIy04WZdGc\n UJ+GN8Nu2k06b4EcOsT80VbNnOB08PT857AymNQv3hBNGEChhK4xZxi9pA8qEhIsQo1f\n LeDMRSNIqHCpeL5vxSw4xC98upfymx9rXCifwp7TzA+4FG9tpvKV5DFoYnTU40mlDOUF\n pJSQ==","X-Forwarded-Encrypted":"i=1;\n AFNElJ8pqZ2/Xr6nCqXBHw44lyPB4WRT7vcxT3pPh+3nad7tGdPNPwxZ9cYh8YShrG/YhNxHz6lM7VzEnogEUA==@gcc.gnu.org","X-Gm-Message-State":"AOJu0YzxMkL31N3JXFV/ZMxfd9ZZJ0S+FDVngtk4l8VZQ/hjDiKMkFvc\n ctAXBrdB/DkIrNhZgGFf/Z6jmVuQY2y3Mivgjgvdf2MJRQ7CoVF49APv/5B5CXYFCxbk2p9Be92\n mFoqvcseTmX0ATn08XSf1Ol0mYX2PhfLFZWKN/o4WdZRvWPdKFMc1YBJU9yw=","X-Gm-Gg":"AeBDievNxw53zNZ7oShyNdis1COQeiW2cFoZk8x09khmNVGeDM/25TwwQh903cqqaP0\n G0XtBcmfKulE6MhsykjxOUveT99FiIWKLjbvvkJWdSvJ94pTmW7skh5fqm45yhPPPuG1MmoBnAY\n WbhOVmx6ziz3apVLyGWXLcqurbr78ps9D8ouJ6ZpPcWlGRT5Je0gAGE4ZFc09san8R2/AIkq1Kv\n rA/nTJCJi7rNltWar+8sd4bETwZ26Q0FHcK0rhnw4aavxx2ozrvpjM6mqu42R0p+Xy278umfJQn\n Cjpveq3CRkH7NDrPpoHdlqvxy5TW4Dw+njyi21acXldhoKTuRv/MsuTnS2am8Xpx/F7aBjDyytM\n Ip2QGjWh19rc3YQFS5NrcPBcIRzt4fRiU/wIW3SpicxmRPKNpg6Tudot4iJZ/EdLs0q8q9uT1K9\n Ql7DokuTyw0nnbEZNENEvp+f4AMXA+74dJsKMY6IYgPQ==","X-Received":["by 2002:a05:620a:1a10:b0:8cd:b38d:be7a with SMTP id\n af79cd13be357-8ddcd21962emr2624069985a.4.1776197476222;\n Tue, 14 Apr 2026 13:11:16 -0700 (PDT)","by 2002:a05:620a:1a10:b0:8cd:b38d:be7a with SMTP id\n af79cd13be357-8ddcd21962emr2624063785a.4.1776197475672;\n Tue, 14 Apr 2026 13:11:15 -0700 (PDT)"],"Message-ID":"<a268a453-4dd8-4076-9ca4-4331a97840e0@redhat.com>","Date":"Tue, 14 Apr 2026 16:11:13 -0400","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] c++: static local meta::info as &targ [PR124824]","To":"Patrick Palka <ppalka@redhat.com>, gcc-patches@gcc.gnu.org","Cc":"polacek@redhat.com","References":"<20260414195353.221467-1-ppalka@redhat.com>","From":"Jason Merrill <jason@redhat.com>","In-Reply-To":"<20260414195353.221467-1-ppalka@redhat.com>","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"r_ZgZj99B6FDBvflEGqSTpY8cUJg1yrpGR3cjIDcXF4_1776197476","X-Mimecast-Originator":"redhat.com","Content-Language":"en-US","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"7bit","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>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}},{"id":3677393,"web_url":"http://patchwork.ozlabs.org/comment/3677393/","msgid":"<7dbcf830-57aa-605a-de31-5d7c89774a12@idea>","list_archive_url":null,"date":"2026-04-14T20:26:00","subject":"Re: [PATCH] c++: static local meta::info as &targ [PR124824]","submitter":{"id":78319,"url":"http://patchwork.ozlabs.org/api/people/78319/","name":"Patrick Palka","email":"ppalka@redhat.com"},"content":"On Tue, 14 Apr 2026, Jason Merrill wrote:\n\n> On 4/14/26 3:53 PM, Patrick Palka wrote:\n> > Tested on x86_64-pc-linux-gnu, does this look OK for trunk?\n> > \n> > -- >8 --\n> > \n> > We're crashing in discriminator_for_local_entity for a static local\n> > meta::info variable because determine_local_discriminator is never\n> > called for it from cp_finish_decl.  The code path was disabled for\n> > consteval-only types in the main Reflection commit r16-6808 to avoid\n> > creating a varpool_node for such types.\n> \n> Can we avoid mangling such a decl so we never call\n> discriminator_for_local_entity?\n\nSince we're passing the decl's address as a template argument, I'm not\nsure how to avoid mangling it?  I'd think we still need the\ndiscriminator stuff to properly handle:\n\n    template<auto> void f() { }\n\n    int main() {\n      {\n        static constexpr auto M = ^^int;\n        f<&M>(); // _Z1fITnDaXadL_ZZ4mainE1MEEEvv\n      }\n      {\n        static constexpr auto M = ^^int;\n        f<&M>(); // _Z1fITnDaXadL_ZZ4mainE1M_0EEEvv, distinct from above\n      }\n    }\n\n\n> \n> > This patch naively restricts the get_create call itself rather than the\n> > entire block so that we still call determine_local_discriminator, which\n> > seems to suffice to accept the below testcase.\n> > \n> > \tPR c++/124824\n> > \n> > gcc/cp/ChangeLog:\n> > \n> > \t* decl.cc (cp_finish_decl): Sink !consteval_only_p check\n> > \tso that we still call determine_local_discriminator for\n> > \tconsteval-only types.\n> > \n> > gcc/testsuite/ChangeLog:\n> > \n> > \t* g++.dg/reflect/expr17.C: New test.\n> > ---\n> >   gcc/cp/decl.cc                        | 10 +++++-----\n> >   gcc/testsuite/g++.dg/reflect/expr17.C | 10 ++++++++++\n> >   2 files changed, 15 insertions(+), 5 deletions(-)\n> >   create mode 100644 gcc/testsuite/g++.dg/reflect/expr17.C\n> > \n> > diff --git a/gcc/cp/decl.cc b/gcc/cp/decl.cc\n> > index 930253d96460..23b984500444 100644\n> > --- a/gcc/cp/decl.cc\n> > +++ b/gcc/cp/decl.cc\n> > @@ -9885,8 +9885,7 @@ cp_finish_decl (tree decl, tree init, bool\n> > init_const_expr_p,\n> >   \t variable.  */\n> >         if (DECL_FUNCTION_SCOPE_P (decl)\n> >   \t  && TREE_STATIC (decl)\n> > -\t  && !DECL_ARTIFICIAL (decl)\n> > -\t  && !consteval_only_p (decl))\n> > +\t  && !DECL_ARTIFICIAL (decl))\n> >   \t{\n> >   \t  /* The variable holding an anonymous union will have had its\n> >   \t     discriminator set in finish_anon_union, after which it's\n> > @@ -9904,9 +9903,10 @@ cp_finish_decl (tree decl, tree init, bool\n> > init_const_expr_p,\n> >   \t      walk_tree (&init, notice_forced_label_r, NULL, NULL);\n> >   \t      add_local_decl (cfun, decl);\n> >   \t    }\n> > -\t  /* And make sure it's in the symbol table for\n> > -\t     c_parse_final_cleanups to find.  */\n> > -\t  varpool_node::get_create (decl);\n> > +\t  if (!consteval_only_p (decl))\n> > +\t    /* And make sure it's in the symbol table for\n> > +\t       c_parse_final_cleanups to find.  */\n> > +\t    varpool_node::get_create (decl);\n> >   \t}\n> >           if (flag_openmp\n> > diff --git a/gcc/testsuite/g++.dg/reflect/expr17.C\n> > b/gcc/testsuite/g++.dg/reflect/expr17.C\n> > new file mode 100644\n> > index 000000000000..d4f04d2c4094\n> > --- /dev/null\n> > +++ b/gcc/testsuite/g++.dg/reflect/expr17.C\n> > @@ -0,0 +1,10 @@\n> > +// PR c++/124824\n> > +// { dg-do compile { target c++26 } }\n> > +// { dg-additional-options \"-freflection\" }\n> > +\n> > +template<auto> void f() { }\n> > +\n> > +int main() {\n> > +  static constexpr auto M = ^^int;\n> > +  f<&M>();\n> > +}\n> \n>","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=DAXNU0Ic;\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=DAXNU0Ic","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.129.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 4fwG5V1SQ5z1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 06:26:37 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 080674BA2E08\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 20:26:36 +0000 (GMT)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTP id 7607A4BA2E07\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 20:26:07 +0000 (GMT)","from mail-qt1-f199.google.com (mail-qt1-f199.google.com\n [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-159-Olwg14t0PGS2E73V56a4GQ-1; Tue, 14 Apr 2026 16:26:03 -0400","by mail-qt1-f199.google.com with SMTP id\n d75a77b69052e-50d5d076d88so13110371cf.1\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 13:26:03 -0700 (PDT)","from [2600:4040:aa66:bf00:9e8e:99ff:fed1:71f]\n ([2600:4040:aa66:bf00:9e8e:99ff:fed1:71f])\n by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8ac84cb0474sm130789786d6.40.2026.04.14.13.26.01\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 14 Apr 2026 13:26:01 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 080674BA2E08","OpenDKIM Filter v2.11.0 sourceware.org 7607A4BA2E07"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 7607A4BA2E07","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 7607A4BA2E07","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776198367; cv=none;\n b=EwxYXuVubKZWPadkYhgRwzbjaz4mbo8nMRuopZayfNyty5m5X722/pnD+Xr+nc01QorZgN+oSYnShAd2Hy60m0ic1ydvtkZOCDy7mSp0VWjJhCvxi//rYT+ZEZcJ7j+8jBksQr+bJhIIlzUweabwesMO6UIxMypuKAPWLS47Ps4=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776198367; c=relaxed/simple;\n bh=TR+uCVPzDPGkmK7GKNwbo1nMq2sao9Wgr3fCnRwiCx0=;\n h=DKIM-Signature:From:Date:To:Subject:Message-ID:MIME-Version;\n b=GB7DCihjJLIlWrlVNd/YrR2WoHvsKb5922RIeLAaHs2xK/vjQZLfmjI/3f3riuBBWy+5D23U4Z2K4V//TnTAv63Hl6a2gRf0qn2WXXqOM4OUMIYFRzuEqplM0w/yfkhD7pYQ/pwQ7G/psgE6P+rKYecc0UjRHcTFSay8PQwv4+E=","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=1776198367;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=/Xw5mE0NQMUPb9F7fneoNBv/Fa/LO69ioTQ6W2WzU+E=;\n b=DAXNU0Ic3ZX6Q3j+x+WSfk1dp52us/h/QT2JNlUwz+ZSvWfWWzoax/66hWV01z5NknBr0Z\n ZMWZy+8maiW8Nb61xjBlPytnxb/TCyov8qnIqk1D1bLJbDHonx9CuBhOS6qw+Heh6diSZl\n AaSxw5FnaTp987CCaeco6BgnRjq8UpY=","X-MC-Unique":"Olwg14t0PGS2E73V56a4GQ-1","X-Mimecast-MFC-AGG-ID":"Olwg14t0PGS2E73V56a4GQ_1776198363","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776198363; x=1776803163;\n h=mime-version:references:message-id:in-reply-to:subject:cc:to:date\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=/Xw5mE0NQMUPb9F7fneoNBv/Fa/LO69ioTQ6W2WzU+E=;\n b=KfuiitdLGBsEGU+3y31i4p5KhZS1z3T1TjPF//UANYKIkxSoObSPo2uxngrKz1p4Po\n elBib/HItkttiCDALg6c7z0MrzII181zpq4OYGAYiH4nttqnUjmV7T3WEidZ4JoHuHDT\n 3JGJYfVQ+SMMnLJAZjZsCzR/P+dFW4JdrlfR0zvHfuoof0jMMYXGJKWqwIgB3IODfRv9\n oRoOwRbW3W31IJTn3FL0ATXOL3DMsyNUYEs2GeQRlkDd4bXLT2lMtz2OIjZKxyWEg62H\n 3SoAmW+sQfVx+ygugNnBRCiyMjvXM6I1oGTQhaRVDxr7cB52Pbuiby5J4AbLLP2MQhCu\n nh+A==","X-Forwarded-Encrypted":"i=1;\n AFNElJ+oyPYQ1Qim1+u9EjYgzUQkjwcz2nLHc6Q7NzGtVVMKBSgyd9ss+s7/fqcM8SUHNT38QrzEZKM455KBQg==@gcc.gnu.org","X-Gm-Message-State":"AOJu0Ywa+uLGZ/e6OKPT2jWEnyQP9UDO8I/LQeycl8RuP5Ym9pHM1Obl\n WW48TkI0nh9QMl5zKdTaQRSrBX2jq0a/qlTv1fYZQ50RdH+EEB6miJ9tgQ6l817t5GsWNy673qM\n QdGqFb4yACS5wWtFPMhrt7N7W7CphQG+d3qwhmOeVVNSna19BUL/jtuTradk=","X-Gm-Gg":"AeBDietowP9Unqo2jef2Mce6lSLzYmNBQAqho1YT/4aKMWuL2JwppGCvXocQu9AEwLc\n uveKxU8syWq7OYviIBHO7k8qehybVWUdhCh8zlBr3xtdhaIt6dO2q82pH661xaOyve1vnOP6I2e\n rIAYVk/vkaMLADmz5d3WkYrznhKjPvgAnmtfG6qga9ugiTX72lUTJJedGr/kBBoIstVdHEEnGS8\n W8uAnKFamuVEkMNgPKDxoV3EibjEvSBdgkwmDumMSN470lWeO2LBmEI5vaPKj/sJXTzzo9c4zHR\n T+Lw9f4R1i/aqQfgKlUJYGboEgBI2dB2Wv0p3aoX8n1AwaDN5xFDIalHj0+vNm3n3PubiQTupMD\n TkLXeIfsR/GYiItyw6J7iBqSM0C6mP4TV3lUIyOw3aCRh5az8xAkz5Q==","X-Received":["by 2002:a05:6214:1d2c:b0:8ad:4204:e4dd with SMTP id\n 6a1803df08f44-8ad4204e76bmr58995066d6.1.1776198362922;\n Tue, 14 Apr 2026 13:26:02 -0700 (PDT)","by 2002:a05:6214:1d2c:b0:8ad:4204:e4dd with SMTP id\n 6a1803df08f44-8ad4204e76bmr58994756d6.1.1776198362414;\n Tue, 14 Apr 2026 13:26:02 -0700 (PDT)"],"From":"Patrick Palka <ppalka@redhat.com>","X-Google-Original-From":"Patrick Palka <patrick@idea>","Date":"Tue, 14 Apr 2026 16:26:00 -0400 (EDT)","To":"Jason Merrill <jason@redhat.com>","cc":"Patrick Palka <ppalka@redhat.com>, gcc-patches@gcc.gnu.org,\n polacek@redhat.com","Subject":"Re: [PATCH] c++: static local meta::info as &targ [PR124824]","In-Reply-To":"<a268a453-4dd8-4076-9ca4-4331a97840e0@redhat.com>","Message-ID":"<7dbcf830-57aa-605a-de31-5d7c89774a12@idea>","References":"<20260414195353.221467-1-ppalka@redhat.com>\n <a268a453-4dd8-4076-9ca4-4331a97840e0@redhat.com>","MIME-Version":"1.0","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"DKfSkIOYom2rHBAM9EE3jismYzFu2rbVPvKIA095AgM_1776198363","X-Mimecast-Originator":"redhat.com","Content-Type":"text/plain; charset=US-ASCII","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>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}}]