Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang crash #179

Closed
ahdnm opened this issue Mar 14, 2024 · 2 comments
Closed

Clang crash #179

ahdnm opened this issue Mar 14, 2024 · 2 comments

Comments

@ahdnm
Copy link

ahdnm commented Mar 14, 2024

Similar to the issue #174, this code also causes clang to crash https://flux.godbolt.org/z/3fT4r548j

@tcbrindle
Copy link
Owner

Hi @ahdnm, thanks for the report. I've added it to Clang issue: llvm/llvm-project#85148

Meanwhile, it looks like I'll have to come up with a better workaround than #175

@tcbrindle
Copy link
Owner

Hi @ahdnm, it looks like this bug was fixed in Clang 18.1.3 (llvm/llvm-project#86769).

I've tested locally with 18.1.4 and this example now compiles as expected. Testing with Clang trunk on Compiler Explorer seems to work as well: https://flux.godbolt.org/z/bb8dcsqY8 (CE doesn't have any 18.1 point releases).

So hopefully this is now sorted, but if you have any more problems please let me know :)

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

No branches or pull requests

2 participants