Skip to content

🚸 Work around clang bug with consteval UDLs#90

Merged
elbeno merged 1 commit into
intel:mainfrom
elbeno:workaround-clang-udl-bug
Jul 2, 2025
Merged

🚸 Work around clang bug with consteval UDLs#90
elbeno merged 1 commit into
intel:mainfrom
elbeno:workaround-clang-udl-bug

Conversation

@elbeno

@elbeno elbeno commented Jul 2, 2025

Copy link
Copy Markdown
Contributor

Problem:

  • clang has a persistent regression where it ICEs with the error "trying to emit a call to an immediate function". This seems to be provoked by consteval UDLs.

Solution:

  • When using clang, mark UDLs as constexpr rather than consteval.

Problem:
- clang has a persistent regression where it ICEs with the error "trying to emit
  a call to an immediate function". This seems to be provoked by `consteval`
  UDLs.

Solution:
- When using clang, mark UDLs as `constexpr` rather than `consteval`.
@elbeno
elbeno merged commit 0bfd3f0 into intel:main Jul 2, 2025
26 checks passed
@elbeno
elbeno deleted the workaround-clang-udl-bug branch October 16, 2025 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants