From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from codesynthesis.com (codesynthesis.com [188.40.148.39]) by sourceware.org (Postfix) with ESMTPS id 010F6385840F for ; Mon, 2 May 2022 11:49:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 010F6385840F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesynthesis.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=codesynthesis.com Received: from brak.codesynthesis.com (unknown [105.186.193.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by codesynthesis.com (Postfix) with ESMTPSA id 87AD4603F5; Mon, 2 May 2022 11:49:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codesynthesis.com; s=mail1; t=1651492152; bh=RFJirz/6b4+5DcvtLXgKPTJd0rj9FK0XQV8pXdjgwH0=; h=Date:From:To:Subject:Message-ID:MIME-Version:From; b=nPPgMuE3DT4yF3rMsavujmCEoVd0gZdCaNhQ9oG+NxDmSlfxtD3UTasiEXJMyn520 /dynY8ASgEO5I+buMuc30iUW0IgeU9EfLD3l9xDR37Ks39Ow94CqLskC9cgZHg85WJ xOiNqDf2yGpZ4iS6zZYuSbVq6OnBskeRmvQXZHQdKNZ9OMHPJaGMBq1Jkp1bTZhu5v 3xxs2S5Q0O6PhrRlLCdCCFKIP5XRCcPdjio5OHzxsVIGMPCzeHQRiV2Ccr8r/7hcOM XjUFUQIq+ZiwifHeDBDB/StUpGA6BRox/kz4lik36U7K5adryiE8lMX7do+LxIkgzC yc3hFxwYrfotA== Received: by brak.codesynthesis.com (Postfix, from userid 1000) id 6BD131A802AE; Mon, 2 May 2022 13:49:02 +0200 (SAST) Date: Mon, 2 May 2022 13:49:02 +0200 From: Boris Kolpackov To: Jakub Jelinek Cc: gcc@gcc.gnu.org Subject: Re: GCC 12.1 Release Candidate available from gcc.gnu.org Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Code Synthesis User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2022 11:49:16 -0000 Jakub Jelinek writes: > The first release candidate for GCC 12.1 is available [...] There is an unfixed bogus warning that is a regression in 12 and that I think will have a pretty wide effect (any code that assigns/appends a 1-char string literal to std::string): https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 For example, in my relatively small codebase I had about 20 instances of this warning. Seeing that it's enabled as part of -Wall (not just -Wextra), I believe there will be a lot of grumpy users. There is a proposed work around in this (duplicate) bug that looks pretty simple: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336 Perhaps it makes sense to consider it?