From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 73F7A3858C74; Tue, 9 Jan 2024 14:34:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73F7A3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704810866; bh=+q6kcsocgElTyyylJm4bcwCZsboPu382WJZ6PROz7Fo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mJCfx4Tivrl4vIg9bBiNs2fq6IvU4pMBUtscKgRk61TjIYp08IPKDMx8sG7rfIYD8 jj3lMND262BoNjzYizNNWXDvKwNlJMsz0U43MWKG9TfvgJ5tG7kTxerT2KiDYf+raD nGXr/QUtdYWdicy61O/GPYUA9oAD3jdRAb8kTILg= From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102958] std::u8string suboptimal compared to std::string Date: Tue, 09 Jan 2024 14:34:25 +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: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW 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: attachments.created 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=3D102958 --- Comment #7 from Aldy Hernandez --- Created attachment 57016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57016&action=3Dedit preprocessed testcase with GCC13 Compile with -O2 -std=3Dc++20=