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 F423F3858426 for ; Wed, 31 Jan 2024 15:37:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F423F3858426 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 F423F3858426 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=1706715451; cv=none; b=v3ucE3MchCVQEuUGzwfFsZcvMkgm0ADXtO62IGPNO2VcgHUxa1xf3OkQVOt0okdYoFst+1fgWOJVLVuGUJa88C162/pY0L9eA6lc89DgZcONJjuXnMEyQQ/r/MRl6kmXWWR5sqsn9Ew071Sc26v7gkaPE87pOAA1csy31cyMbkg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706715451; c=relaxed/simple; bh=xDfOsVtI5jAli1Bn9q9zZ3+9J4A5N0frKadjGxbtq98=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=aBNIYFDyWKpVFbU3MWlW79mf7wTy6g9JQnTjWyIVNuorKi4hnyVvCH3sScwZdgG7ZomB5HdiXR4l5hcwvH/Q/HDDyjHEIM12phlGE0Mi7W3IbS0g+dWwFYXhzT348db5B5SWmKSjfERckTb9WqCMzMVR5VFJ3LwTOpqCaHyq6uE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706715449; 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=Vulwt+oSqhXiXcFsVvi8iuLZPBXVkPrhLDcW3xwIxRs=; b=JfC3UPcM4EAqD+onho0CvXhGrMokANRk9fydpvyWqh83zdLOmMRaXPAG1buwr2HQ5fPsIR vh98VEqHIVzb+w4+cM3Cy+tthz+GRl/jTE3LHcDbZrbZm1idVeBpSMRQ3GmjwIUeDml8UT jXq6JmsXpazAPV/k9ObaJwQI0YuCpdc= Received: from mail-oa1-f72.google.com (mail-oa1-f72.google.com [209.85.160.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-491-0dlkgaU0PxCUSvb0eZe0wg-1; Wed, 31 Jan 2024 10:37:27 -0500 X-MC-Unique: 0dlkgaU0PxCUSvb0eZe0wg-1 Received: by mail-oa1-f72.google.com with SMTP id 586e51a60fabf-210cc863309so3198239fac.1 for ; Wed, 31 Jan 2024 07:37:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706715447; x=1707320247; 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=Vulwt+oSqhXiXcFsVvi8iuLZPBXVkPrhLDcW3xwIxRs=; b=GZD0d7mvAvE0Ruk09nvg2kIntLQXpyG/V7XQddENuf1RdzcDF9WqFVB7g+8GtAFfzd Hx77GKlBUvBo1gQ6JOrlC3A0YOqBNRX6r2TB/pogd80yBO46BcYjy0iWckZMzQCPaA9o 0TCMdjLP6oik9OuCGyfwv2SYMYjZ+ori1x1lQMa6waJ+FaSl5PBs5YlpaLLRvyQWcbrQ E75o1e9l8AtIsSl5VPJBp8LQzWKyuZfwVCZfAVKMiYLeW22C6Uq1taHq5kIm9B7j1NCy jsOnnEg9GzbzrXHFqBUnPdBxwWv4cXwN6ONsswkRwqtlQxyDoWxEge74xOFwXh42X5MD J57Q== X-Gm-Message-State: AOJu0Yy8B58nfhyO0haXPyRFJ+LQRlLlZGsoClzUsn2ZNJIh0Co1KlyQ TLtSld/aLBl0uN2lr559flNFsrcdeDu9Ccz33GhXtQiGHlqdLxVmbFsSQrP4PmU0x0eh0k358iA dDOs0A+bP4SuK+wxxZFVMk5xHDTEb/0flyUC6z6BPmy6yHP84wNCoAwc= X-Received: by 2002:a05:6870:4414:b0:214:b284:fc1d with SMTP id u20-20020a056870441400b00214b284fc1dmr2113049oah.51.1706715447122; Wed, 31 Jan 2024 07:37:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9QVzymfTp710OcZuam5YtbOJPphYtQFU2P5LaCpgOggwehs+Vmp/3eScA7NPjFeDJE3AC5A== X-Received: by 2002:a05:6870:4414:b0:214:b284:fc1d with SMTP id u20-20020a056870441400b00214b284fc1dmr2113034oah.51.1706715446883; Wed, 31 Jan 2024 07:37:26 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVMVjfN2kjCkWwW2e/qJJ2oCdWO22XqzZKJ8m0UDtnj/ng/bKEM61sq85659QkTuhQ07F9wlMxVcREs5vdvxKDjQZ2YZaUvdA== Received: from [192.168.1.146] (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 mf15-20020a0562145d8f00b00686a080092bsm5592986qvb.1.2024.01.31.07.37.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 07:37:26 -0800 (PST) Message-ID: Date: Wed, 31 Jan 2024 10:37:25 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] c++: add deprecation notice for -fconcepts-ts To: Richard Biener Cc: Marek Polacek , GCC Patches References: <20240130231841.418861-1-polacek@redhat.com> <922c8f45-fbf4-4491-9b4f-1e75076848a0@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: 8bit X-Spam-Status: No, score=-6.1 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_H2,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE 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 1/31/24 08:55, Richard Biener wrote: > On Wed, Jan 31, 2024 at 2:53 PM Jason Merrill wrote: >> >> On 1/31/24 03:40, Richard Biener wrote: >>> On Wed, Jan 31, 2024 at 12:19 AM Marek Polacek wrote: >>>> >>>> Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? >>>> >>>> -- >8 -- >>>> We plan to deprecate -fconcepts-ts in GCC 15 and remove the flag_concepts_ts >>>> code. This note is an admonishing reminder to convert the Concepts TS >>>> code to C++20 Concepts. >>> >>> What does "deprecated in GCC 15" mean? Given you output the notice with >>> GCC 14 it would be better to state when it's going to be removed - >>> it's effectively >>> "deprecated" right now then? Or will it continue to "work" forever >>> until it bitrots? >> >> Agreed, it's deprecated now. We talked about it having no effect in GCC >> 15; the message could say that. Or we could leave it vague and just say >> it's deprecated. >> >> Please also update invoke.texi. > > Btw, should -std=c++20 -fconcepts-ts be rejected? No, that makes sense, it means C++20 plus the TS extensions that didn't make it into the standard. > I suppose -std=c++20 enables -fconcepts by default, it also seems to accept -std=c++20 > -fno-concepts ... I don't know why anyone would do that, but I don't see a reason to prohibit it either. Jason