Skip to content

[AArch64] fatal error: error in backend: Do not know how to scalarize the result of this operator! #162009

@Andarwinux

Description

@Andarwinux
[arch@wsl fmt]$ aarch64-w64-mingw32-clang -O3 -mcpu=cortex-a76 format.cc
In file included from format.cc:8:
In file included from ./format-inl.h:25:
./format.h:4429:27: warning: identifier '_a' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator]
 4429 | constexpr auto operator"" _a(const char* s, size_t) -> detail::udl_arg<char> {
      |                ~~~~~~~~~~~^~
      |                operator""_a
fatal error: error in backend: Do not know how to scalarize the result of this operator!

clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 22.0.0git (https://github.com/llvm/llvm-project.git 074308c64ba10a3346c65deda67501e7bfc58eaa)
Target: aarch64-w64-windows-gnu
Thread model: posix
InstalledDir: /home/arch/workspace/llvm-mingw/bin
Configuration file: /home/arch/workspace/llvm-mingw/bin/aarch64-w64-windows-gnu.cfg
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/format-8bdb98.cpp
clang: note: diagnostic msg: /tmp/format-8bdb98.sh
clang: note: diagnostic msg:

********************

fmt.zip

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions