From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BCAAB3858296; Tue, 21 Feb 2023 19:28:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BCAAB3858296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677007706; bh=NSgnJ2WYqeRefAsz18+yfWDnCwYmtpriNEr0mdxtBlE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BM9zT1LBn2PTPjLiJf2kZX+p5q/+fuIEDK29kn9nz1PwvbseDSva6lBTLPrpOTjOq /TI5yE1cHpVfKaaVKnS/SMHTJFGLu7RkmmA06YtORvwNwvkTDhcM8DaFghSwhcNrNm i9C22NfRsbrYEjGILOHwbfxsmIWTI3poVducCOBg= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6 Date: Tue, 21 Feb 2023 19:28:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105329 --- Comment #27 from Jonathan Wakely --- No, the new function requires exporting a new symbol from the shared librar= y, which is not possible for the stable release branch.=