Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B91B179D4 for ; Mon, 15 May 2023 12:47:05 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 980C91F8AA; Mon, 15 May 2023 12:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1684154818; h=from:from:reply-to: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=0x0ae2rk3ga/vzksaV+1fMK6Enk6QXAyzSkU1huyhOw=; b=NRdETDoFtWQGC4Hi6s0FrUlpiuShg+nlaOhNzA2ZNMfRAW6Hd8aexQxL5MgWiqMIg/UDlV 00k8plMr5PmUjHdgHqIAhnkKjG/f+SnkMVfk0cLDu6OTQlLmLwDsKIAxW44WlSAovfrWFm i9ky2I8rbTs7adRxFQojQ+nYSZAjulc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1684154818; h=from:from:reply-to: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=0x0ae2rk3ga/vzksaV+1fMK6Enk6QXAyzSkU1huyhOw=; b=EyAmXBOSs7qhJHfazW+UkbZNs6mRvUutLDkc1QrKnrkj8AUKuPXswl5xcIDrLG20aVkZFA whdJCa1FlcTGHcCg== Received: from wotan.suse.de (wotan.suse.de [10.160.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 811882C141; Mon, 15 May 2023 12:46:58 +0000 (UTC) Received: by wotan.suse.de (Postfix, from userid 10510) id 5E6CD64E1; Mon, 15 May 2023 12:46:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by wotan.suse.de (Postfix) with ESMTP id 5CF1F64DB; Mon, 15 May 2023 12:46:58 +0000 (UTC) Date: Mon, 15 May 2023 12:46:56 +0000 (UTC) From: Michael Matz To: Jakub Jelinek cc: Martin Jambor , Florian Weimer , gcc@gcc.gnu.org, c-std-porting@lists.linux.dev Subject: Re: More C type errors by default for GCC 14 In-Reply-To: Message-ID: References: <877cth66qb.fsf@oldenburg.str.redhat.com> User-Agent: Alpine 2.20 (LSU 67 2015-01-07) Precedence: bulk X-Mailing-List: c-std-porting@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Hello, On Fri, 12 May 2023, Jakub Jelinek via Gcc wrote: > On Fri, May 12, 2023 at 11:33:01AM +0200, Martin Jambor wrote: > > > One fairly big GCC-internal task is to clear up the C test suite so that > > > it passes with the new compiler defaults. I already have an offer of > > > help for that, so I think we can complete this work in a reasonable time > > > frame. > > I'd prefer to keep at least significant portion of those tests as is with > -fpermissive added (plus of course we need new tests that verify the errors > are emitted), so that we have some testsuite coverage for those. Yes, this! Try to (!) never change committed testcase souces, however invalid they may be (changing how they are compiled, including by introducing new dg-directives and using them in comments, is of course okay). (And FWIW: I'm fine with Florians proposal. I personally think the arguments for upgrading the warnings to errors are _not_ strong enough, but I don't think so very strongly :) ) Ciao, Michael.