From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id CA3013858C2A for ; Tue, 17 Oct 2023 21:11:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA3013858C2A 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 CA3013858C2A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697577077; cv=none; b=DPRLD2DJ0c8JU2l9Crvlxb0WtT0JhceVDaCsG6sGEg+igrRgSP5dba0V+rXE2HKZajtgzuaVyEpvRgWLVFl7Jcb5pzZlXXUQjtIlvy+h/O4X+1PB6vG1JI0Y9KgEY+rJP0rTXGFRRtuFVOmAYGVOJyxET4VPt6hlRhQlnhldX28= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697577077; c=relaxed/simple; bh=chcE2NcewLDGDZtTtJn1U/SC1rCcd/iJwKsqJWaHqPU=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=vl2oY3+cGOvBepcB7EnDr1gOksanHAmw8/z10iPkaMXfYT5VRjNoUaPX/qbcWtUswhDuWoAKkNr8NL9uyC1cKhsU5IUIx9PISoOhY94qi/8AnXk59TrLhf1vN+RMMyczw3gXJRiJtyNNkhQ/kgf/cABfClU8rTgIE2IftFNj62o= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697577072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qjVhJm4EUylkQqdKtH5nvukq5zxMRyfIN5neJjdN6fo=; b=XRyrAK2RnUmZpwfCsES8ZisJzRDEOTDGwDLpASm7JGm7Gaw2YaUEMnUGuHO1v19UW+Em9n EYpEymhcZ3X+OM3skQW5Mh5JvgCuEwKlhr79oue2Nk7PUmD7EBv6CwPhJxPmbGlahSUSqo JsngxXNWB90F94ynWAuo0T9PJaLgoM8= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-589-NFJAb96BM0mctI6Ire-1QQ-1; Tue, 17 Oct 2023 17:11:11 -0400 X-MC-Unique: NFJAb96BM0mctI6Ire-1QQ-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-77435bbb71dso593462685a.1 for ; Tue, 17 Oct 2023 14:11:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697577070; x=1698181870; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qjVhJm4EUylkQqdKtH5nvukq5zxMRyfIN5neJjdN6fo=; b=mjgaRVyZuKrGYCvaL9zocsobwlUfjd+82NB+k1ikgRMHRmD3ugtgl8A8tlit6/MsUS ovpZS227rVmp3Cz2YgE4kULroZhEJeaKzomCpOXymK3SzmPFVAokFxTFi8m3emuVzq/2 xkT/1P2k0ONcBOBOd5Kyp8iAo+GeJoqFNBBM+rD0A+vpvfbOOhCSrQwxAw/nf5h7joLe VP6IxQ8Bc2GrimuVexsCjM+awzEQU04TndZ+eJhibfftUf8Mniw80dk/CzIawNcQBSIr 8EmD/MtKAtBldk/Awkn2WZYveAJEq5AbKfwz2qjs+BTZidsIYQWE8b6FancJU9/esr1C Pgyw== X-Gm-Message-State: AOJu0YxwC+vDSroxWF4CWKFaTOWwLBv68DsEESN5Ez+Q6nkEtRLVPUtH QFBO+H9CSXPaa5RQN2/XbbbNlo1U3gzwKbccGfBlbYh/npHpT2ATtDIHSCwW/YtGpd1QsuCdPAm Fa/E4OcsntXonzcIrxg== X-Received: by 2002:a05:620a:3906:b0:775:c2a1:1f1e with SMTP id qr6-20020a05620a390600b00775c2a11f1emr4139060qkn.50.1697577070537; Tue, 17 Oct 2023 14:11:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNm0xUkL0jGqDZvJoxJmD9vBZUc6Mjvz3uBMZcDwNJOzBCkDCGyOeOTEKa4SCsnfFpciXwtw== X-Received: by 2002:a05:620a:3906:b0:775:c2a1:1f1e with SMTP id qr6-20020a05620a390600b00775c2a11f1emr4139046qkn.50.1697577070268; Tue, 17 Oct 2023 14:11:10 -0700 (PDT) Received: from [192.168.1.108] (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 x3-20020ae9e643000000b0076dae4753efsm966308qkl.14.2023.10.17.14.11.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Oct 2023 14:11:09 -0700 (PDT) Message-ID: Date: Tue, 17 Oct 2023 17:11:08 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] c++: Initial support for P0847R7 (Deducing This) [PR102609] To: waffl3x Cc: Jakub Jelinek , "gcc-patches@gcc.gnu.org" References: <3ec4cf47-ccd8-fc55-c4fc-d97402552b92@redhat.com> <9evl-z9cAecBNAGVh82igdeO_HCFYbASO5fS0ngotJBqdpab09FTYaMiAjlZUliISedO0mV66BldzWQtylI4Dax0yC2gdKWuM55xDaG6RQM=@protonmail.com> <09e57c81-5231-16e8-6e57-18c37663c325@redhat.com> <2024d9f2-7560-eb9e-e9d9-de8769a06a8b@redhat.com> From: Jason Merrill In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,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 List-Id: On 9/25/23 21:56, waffl3x wrote: > > On the plus side, I took my time to figure out how to best to pass down > information about whether a param is an xobj param. My initial > impression on what you were suggesting was to push another node on the > front of the list, but I stared at it for a few hours and didn't think > it would work out. I was thinking to set a TREE_LANG_FLAG on the TREE_LIST node. > However, eventually I realized that the purpose > member if free for xobj params as it is illegal for them to have > default arguments. Hmm, is it? I see that clang thinks so, but I don't know where they get that idea from. The grammar certainly allows it: > attribute-specifier-seqopt decl-specifier-seq declarator = initializer-clause and I don't see anything else that prohibits it. Jason