From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 10AE93858C78; Thu, 20 Jul 2023 00:23:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 10AE93858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689812636; bh=oDTgGmOkq7gGY5amGgl1Y/E4USosgOgKTVGzF8fbPmw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=myvGjf1yM1mADUV/PoSBhmYOecBnlGDyh8GDsOoY+LN9/Cuspujcp2xRFaAGXEB6c VQyMkTXkBQwU4tdZDMvGw/+q57Qt4/5iR0bbH5k4vPjT9MTf6RUwNzOxzJLOT8mcMQ Qmb8xqhbzO8GHaZEr5BINwNSd3a+5R7Cr9IKsLlk= From: "thiago.bauermann at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/103902] GCC requires a space between string-literal and identifier in a literal-operator-id where the identifier is not in basic character set Date: Thu, 20 Jul 2023 00:23:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: patch, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago.bauermann at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: lhyatt at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D103902 Thiago Jung Bauermann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thiago.bauermann at linaro= dot org --- Comment #8 from Thiago Jung Bauermann --- Hello, The new tests udlit-extended-id-1.C and udlit-extended-id-3.C are failing on armv8l-linux-gnueabihf (tested on Ubuntu 22.04): Running g++:g++.dg/dg.exp ... FAIL: g++.dg/cpp0x/udlit-extended-id-1.C -std=3Dc++14 (test for excess erro= rs) UNRESOLVED: g++.dg/cpp0x/udlit-extended-id-1.C -std=3Dc++14 compilation fai= led to produce executable FAIL: g++.dg/cpp0x/udlit-extended-id-1.C -std=3Dc++17 (test for excess erro= rs) UNRESOLVED: g++.dg/cpp0x/udlit-extended-id-1.C -std=3Dc++17 compilation fai= led to produce executable FAIL: g++.dg/cpp0x/udlit-extended-id-1.C -std=3Dc++20 (test for excess erro= rs) UNRESOLVED: g++.dg/cpp0x/udlit-extended-id-1.C -std=3Dc++20 compilation fai= led to produce executable FAIL: g++.dg/cpp0x/udlit-extended-id-3.C -std=3Dc++14 (test for excess erro= rs) FAIL: g++.dg/cpp0x/udlit-extended-id-3.C -std=3Dc++17 (test for excess erro= rs) FAIL: g++.dg/cpp0x/udlit-extended-id-3.C -std=3Dc++20 (test for excess erro= rs) Looking at g++.log, the errors are: /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:24:14: error: 'const char* operator""_1\U000003c3(const char*, long unsigned int)'= has invalid argument list /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:29:14: error: 'const char* operator""_\U000003a32(const char*, long unsigned int)'= has invalid argument list /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:34:14: error: 'const char* operator""_\U000000e61(const char*, long unsigned int)'= has invalid argument list /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:39:13: error: 'const char* operator""_\U000001532(const char*, long unsigned int)'= has invalid argument list /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C: In function 'int main()': /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:56:15: error: unable to find string literal operator 'operator""_1\U000003c3' with 'const char [4]', 'unsigned int' arguments /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:58:15: error: unable to find string literal operator 'operator""_\U000003a32' with 'const char [5]', 'unsigned int' arguments /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:60:15: error: unable to find string literal operator 'operator""_1\U000003c3' with 'const char [7]', 'unsigned int' arguments /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:62:15: error: unable to find string literal operator 'operator""_1\U000003c3' with 'const char [8]', 'unsigned int' arguments /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:65:15: error: unable to find string literal operator 'operator""_\U000003a32' with 'const char [7]', 'unsigned int' arguments /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:67:15: error: unable to find string literal operator 'operator""_\U000000e61' with 'const char [4]', 'unsigned int' arguments /home/thiago.bauermann/src/gcc/gcc/testsuite/g++.dg/cpp0x/udlit-extended-id= -1.C:69:15: error: unable to find string literal operator 'operator""_\U000001532' with 'const char [4]', 'unsigned int' arguments compiler exited with status 1 Any idea what could be going wrong? They do pass on aarch64-linux, so I won= der if this is a 32-bit issue?=