-
Notifications
You must be signed in to change notification settings - Fork 13.4k
clang crashed on windows10 with -mno-sse2 flag #98019
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
Comments
@llvm/issue-subscribers-backend-x86 Author: None (m-strzalkowski)
On a x86-64 windows10 machine I downloaded `clang+llvm-18.1.8-x86_64-pc-windows-msvc.tar.xz` from download page (https://github.com/llvm/llvm-project/releases), unpacked, added to PATH and started using clang. Crash happened on a very simple input:
compiled with basic command, but with a flag added:
Note I apologise in advance for any misdemeanor regarding formatting and tagging rules (it's my first issue on Github). Attachements as requested in a crash message |
Yet another duplicate of #29774. |
On a x86-64 windows10 machine I downloaded
clang+llvm-18.1.8-x86_64-pc-windows-msvc.tar.xz
from download page (https://github.com/llvm/llvm-project/releases), unpacked, added to PATH and started using clang. Crash happened on a very simple input:compiled with basic command, but with a flag added:
clang -c binarka.c -mno-sse2
(without the flag it works)The whole command output:
Note
Without
mno-sse2
flag everything works.Crash occurs also when the extern function return type is changed to double / long double (and printf format accordingly).
I don't mind if anyone just deletes this issue, it is windows afterall, and I was using flag
-mno-sse2
just on a whim, to see what instructions are generated. I posted it only because 1) program itself asked to post it :) 2) It happened on so short and basic input and might indicate something actually relevant.I apologise in advance for any misdemeanor regarding formatting and tagging rules (it's my first issue on Github).
Attachements as requested in a crash message
clang_crash_08_07_2024.zip
The text was updated successfully, but these errors were encountered: