From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D177F385828D; Wed, 3 Jan 2024 13:01:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D177F385828D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704286867; bh=xvz5/n98iDu6Jh5mMHIOlI7VPVVHPQ5uWIN3RrNhFQ4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hrmRkrGjmWnl58nZNGuhb+SKH4vMPL+lUgrym9FVC8COdxt6CFeTSLNnG8Prfg7kn VOd0+ElnpswU9QAt4VGbxuy3+75Iox1FCT2B6qEC/n9zgnRpfj8PeR1+Fh+rmU68ja WPEMQQS/5+5kuwR952EaMjDLiGsdOMjwXh4dzjqY= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113200] std::char_traits::move is not constexpr when the argument is a string literal Date: Wed, 03 Jan 2024 13:01:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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=3D113200 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #7) > Why does GCC accept this reduced version, which is invalid for the same > reason as the original? Looks like PR 70248=