From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69088385C33A; Fri, 30 Sep 2022 17:16:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69088385C33A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664558190; bh=5fBarUOvLiJ9kAk5z0xk9WlZCCEiPRvOSK5b796Mn0M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W+Rr1p2b/5YnxCkafQBNGZldGjw7O28kglyJY9UKs1kmVyDnrHgHffcbvB4w1JmjR HYc++uLC+QaojKQJUDLpPn2dcmWC7hiO+4f5j011bTEATY1hj4h/6MN08Odk9p6iYO cyFZ3P0rD6c1MDPEF1aNzcPs8etBKWE0iTP+CpHA= From: "dan at stahlke dot 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: Fri, 30 Sep 2022 17:16:29 +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: dan at stahlke dot 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 #25 from Dan Stahlke --- The test case I just posted appears in the bug 105651 discussion. So maybe= or maybe not related to the present discussion.=