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 2142E3858410 for ; Tue, 15 Nov 2022 00:03:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2142E3858410 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668470582; 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=tswWysbT/ir1C7bltM4B2aIkFUSBpb6ZHExvhbl5Z3Y=; b=g0dw1kZXaypKjB39zaGNGaLz6jtt6NFFH/KGcZ0RCJop1rJvft4RfzuUtguqNdR76emjxt TNFPlrtKLTEFmh6DT7WhaC/s7rFoJK0sIhP6KYtYTXtuAZShvfYWEHq11is49yxM2WkhNg x3LJPkYOPz+InaCv0ZsbtHKTWxxWJOc= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-541-cCKgAg9mOCmKVhTnFEiOng-1; Mon, 14 Nov 2022 19:03:01 -0500 X-MC-Unique: cCKgAg9mOCmKVhTnFEiOng-1 Received: by mail-qt1-f200.google.com with SMTP id s14-20020a05622a1a8e00b00397eacd9c1aso9201624qtc.21 for ; Mon, 14 Nov 2022 16:03:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=tswWysbT/ir1C7bltM4B2aIkFUSBpb6ZHExvhbl5Z3Y=; b=Nxu/qSqts0EFuSndPOnXeAI5EdmbJExp40qnLzRcDU1R2m/2qDecUrVuQhj//6LKO4 b9BjRpPxt6KJLa0GBDqp4mSVwQh0gQ5TJ9nQULV/F9y2h/Me2jrQ4ztIVmilo6UT6tO+ NlsmbsVaiE6pqyNY6ojZU2WALepEYIVZckgGUK6hdN5jh0gFZaae8VtWwwILW68IV3qC HnNwKJ5xi0pZrk4cag1466/WeMhPZr+L6pflhlKJ+tCXNq0W+T0UtDv6FjLw+MVcZ6+Z MjHQSr8EdqLZyM5FdBO01Z9A/CVjH9dTeD/dEL3f9zyliDG57v3JRczIuB9yqXMPzDEp zNMg== X-Gm-Message-State: ANoB5plwn5tZXOPlRe80mzaiYNtbXUVHO6vtePLZgSFS8J7XbOmdh3Om jKZe6PUXt2uhAsTXRj5+LARoSBo5O3QAMC9ED387v1y/eAOtr5iQ9Nr5DCI2bzrApelcBTBW9kV H//PM8xaRsFv+8gxZrA== X-Received: by 2002:a05:622a:1e96:b0:3a5:50ba:b20c with SMTP id bz22-20020a05622a1e9600b003a550bab20cmr14769580qtb.588.1668470580964; Mon, 14 Nov 2022 16:03:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf5e8yc0i+Y205IUdCTeNiPIvTIpy9EBHWBEsxAYBlRmhFJqV/WnyP4/1p/IS+CwsRePXpc+eg== X-Received: by 2002:a05:622a:1e96:b0:3a5:50ba:b20c with SMTP id bz22-20020a05622a1e9600b003a550bab20cmr14769554qtb.588.1668470580641; Mon, 14 Nov 2022 16:03:00 -0800 (PST) Received: from [192.168.1.101] (130-44-159-43.s15913.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.159.43]) by smtp.gmail.com with ESMTPSA id ay42-20020a05622a22aa00b0039a08c0a594sm6347257qtb.82.2022.11.14.16.02.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Nov 2022 16:03:00 -0800 (PST) Message-ID: <6e192a20-7a46-198b-78dd-8dacfa6620df@redhat.com> Date: Mon, 14 Nov 2022 19:02:59 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] c++: Add testcase for DR 2392 To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org References: 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.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no 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 11/14/22 00:36, Jakub Jelinek wrote: > Hi! > > Working virtually out of Baker Island. > > The testcase from DR 2392 passes, so I assume we don't need to do > anything further for the DR. > > Tested on x86_64-linux, ok for trunk? OK. > 2022-11-13 Jakub Jelinek > > * g++.dg/DRs/dr2392.C: Add testcase for DR 2392. > > --- gcc/testsuite/g++.dg/DRs/dr2392.C.jj 2022-11-13 20:49:22.107817793 -1200 > +++ gcc/testsuite/g++.dg/DRs/dr2392.C 2022-11-13 20:49:17.506880524 -1200 > @@ -0,0 +1,12 @@ > +// DR 2392 > +// { dg-do compile { target c++11 } } > + > +template > +constexpr int > +foo () > +{ > + T t; > + return 1; > +} > + > +using V = decltype (new int[foo ()]); > > Jakub >