From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BF4093858C62; Mon, 24 Jul 2023 02:21:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF4093858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690165300; bh=BP2V8tK4HWkVaXAGct2mdyKhE0CMc7++VwS4ZCt+sFw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nK7Df/nNNAR0s5qRfD755fjL1YbxC2yFYS7yMJtez8yPyLqnNPwQK6a0eCFiN0JC2 iadoYBm3pFMsKllNcWcxWjbYxFd1z/d22fZRvRzoOpshz/7W9qFdUIcX0dxmor5ryK 5kqV7nIrmUVRtfqHdKsfL8CYjGe85QkUK9zxevsc= From: "de34 at live dot cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108626] GCC doesn't deduplicate string literals for const char*const and const char[] Date: Mon, 24 Jul 2023 02:21:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: de34 at live dot cn X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D108626 --- Comment #9 from Jiang An --- See also CWG2753. https://cplusplus.github.io/CWG/issues/2753.html=