Open Quuxplusone opened 4 years ago
Attached Desktop.7z
(927644 bytes, application/x-7z-compressed): CPP and SH
Not sure what the problem is given that there's no reproducer, but the error message looks like it is a clang problem. Which version are you using? If you are using tip of tree clang, does updating the clang solve the problem?
If not, can you give me a test case that reproduces this bug and the command line you used and the version of toolchain?
Test case and command line are in the attachment
Sorry for the late reply. I confirmed that this happens with tip of tree LLVM, and I don't think this is necessarily related to WebAssembly and it is more of a clang problem, which I don't have expertise in.
I tried to find out which LLVM commit this first happens and failed. I went back to LLVM mid 2019 and this error still happened. Around that time this changes to some other errors. But weirdly, LLVM 10.0.0 / 10.0.1 release versions don't have this problem.
Anyway, sorry that this doesn't help much.
Is this not the right place to report this problem?
Because the error messaged pointed me to report this problem here on
https://bugs.llvm.org/
So I feel confused.
Should I report this elsewhere?
How to get this problem fixed?
Thank you
No, this is the right place. I think this is just not being seen by the right people. I reassigned the component to "Frontend". Let's hope it can be seen by the people who work on the frontend.
For information:
This error also happens on my x86-64 Linux machine. The minimal command line that reproduces the problem is:
clang++ -target wasm32-unknown-emscripten -Wno-comment -Wno-parentheses -Wno-switch -fms-extensions -std=c++17 -c Undo-bdd1c4.cpp
Desktop.7z
(927644 bytes, application/x-7z-compressed)