From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 90E463858C50; Wed, 8 Feb 2023 12:54:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90E463858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675860887; bh=D1T2hryfDJlL9qAvYWIdISGgkQLy7uFtBMzAJMhRCiQ=; h=From:To:Subject:Date:From; b=fz9EKNqSE6bvHZ46eAa7wMLTAz9xGcJ7Ax3a3T/R9bRRdORVgjJLtDmNaIuC8Gy2x jWRzRm+SGJoTdToTWUhAVOxia92fS4/UaAhmqfWOZ+uOQoAwLDiLUi22u29rcBoiRV nlJhQzYvkvJQ1aXlCIcfSDGzwvS7uBDp9ILB2Emg= From: "pacoarjonilla at yahoo dot es" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvMTA4NzE3XSBOZXc6IHBhc3RpbmcgIiIiXyIgYW5k?= =?UTF-8?B?ICLCtW0iIGRvZXMgbm90IGdpdmUgYSB2YWxpZCBwcmVwcm9jZXNzaW5nIHRv?= =?UTF-8?B?a2VuIGluIHVzZXItZGVmaW5lZCBsaXRlcmFsIG9wZXJhdG9y?= Date: Wed, 08 Feb 2023 12:54:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pacoarjonilla at yahoo dot es 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D108717 Bug ID: 108717 Summary: pasting """_" and "=C2=B5m" does not give a valid preprocessing token in user-defined literal operator Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pacoarjonilla at yahoo dot es Target Milestone: --- The following code is accepted by clang and MSVC, but not GCC: $ g++-13 --std=3Dc++2b ''' int operator""_=C2=B5m(long double magnitude) noexcept // Micro sign, unico= de 0x00b5 { return magnitude; } ''' But character '=C2=B5' is unicode XID_Start, so it should be accepted. Compiler output: :1:16: error: expected initializer before '\U000000b5m' 1 | int operator""_=C2=B5m(long double magnitude) noexcept \ | ^~ Compiler returned: 1=