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 9EE6B384AB58 for ; Fri, 3 May 2024 16:06:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9EE6B384AB58 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 9EE6B384AB58 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=1714752408; cv=none; b=e7M7D07taknXNYAeO6JTMeI+V0hqDhUbzCDDOqcJdyAK3taeSXZGiPUQc5LewGJzv+tV+rPpNf3oDt+scYSPG21DqYpMDiA9eTghd77aKAx/GDcvmlTQ81mEh024oEOLAUS7BJkiTVKxkyAL3VpBdCAte5PUXwnLXxSxcyhtWCo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714752408; c=relaxed/simple; bh=FiZI7K/0kba2NDoh/uuI9MGRyPTmF2CL/Uukad/bjUE=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=cL6a7FC3d7rTezT47wtCiTCftuMAScuJ3Na/H6cVG7EbJYuiHQ54WbjSh3Jq7DLX+ZNGLZIYHeyBkHhPQF1sJM9K7pJ1/SeN7udBUbG4iuIwvTl3d0+D+cDOWrCjJqZNY2h3kL/JPS7ZYQ0GX8E80x6a1cXM+ECwr3KpiMqltq8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714752406; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=ufaGGcF23GcOxD8ICtqa+8bI/dFVFZZrjS1kxzrH1ko=; b=Wz7GVgCGe8bg2f3F4a7ak8uJE0VVCZ3M7JWlfpiKq8PwKl8r5In6wIZtnFY2+qXwOgTqsB 8UTZ6wGmC7QpqAXJF4SDNKPucwhZ7QEjZ9gAVxrhKdcc8QgQc6F+kdC/seaCrqozyIRk4Z th7JFEYzp1FkZghju31vSj5gMl+ZUTw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-601-sxVU0kmUP1qrvBuutYFMbw-1; Fri, 03 May 2024 12:06:44 -0400 X-MC-Unique: sxVU0kmUP1qrvBuutYFMbw-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 50F73886F87; Fri, 3 May 2024 16:06:43 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0AEFD400EAF; Fri, 3 May 2024 16:06:42 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 443G6fKh2909392 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 3 May 2024 18:06:41 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 443G6eju2909357; Fri, 3 May 2024 18:06:40 +0200 Date: Fri, 3 May 2024 18:06:40 +0200 From: Jakub Jelinek To: Jonathan Wakely Cc: Sebastian Huber , GCC Patches , fweimer@redhat.com Subject: Re: [PATCH v2] gcc-14: Mention that some warnings are now errors Message-ID: Reply-To: Jakub Jelinek References: <20240415060539.97988-1-sebastian.huber@embedded-brains.de> <1931504601.15974.1713961718420.JavaMail.zimbra@embedded-brains.de> <8d69a68a-1f2c-4018-aa3b-dcf18a9b9296@embedded-brains.de> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_SHORT,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 Fri, May 03, 2024 at 04:06:28PM +0100, Jonathan Wakely wrote: > I agree it should be mentioned, but I would put it in the caveats > section at the top, not as the last item of the C section. > > How about this? OK for wwwdocs? LGTM. > commit fe5fd75ea5a7a08eee0831cadbdd05689e9408db > Author: Jonathan Wakely > Date: Fri May 3 16:04:49 2024 +0100 > > Add caveat to GCC 14 release notes about C warnings-as-errors change > > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > index 46a0266d..82906de1 100644 > --- a/htdocs/gcc-14/changes.html > +++ b/htdocs/gcc-14/changes.html > @@ -40,6 +40,11 @@ a work-in-progress.

> -Wflex-array-member-not-at-end to > identify all such cases in the source code and modify them. > > +
  • C: > + Certain warnings about are now errors, see > + Porting to GCC 14 > + for details. > +
  • >
  • -fcf-protection=[full|branch|return|none|check] > is refactored, to override -fcf-protection, > -fcf-protection=none needs to be added and then Jakub