https://bugs.llvm.org/show_bug.cgi?id=33004
Bug ID: 33004
Summary: printf with floating point arguments using -mno-sse2
flag is crashing
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: ziv.iz...@intel.com
CC: llvm-bugs@lists.llvm.org
clang crashes while compiling with the flag -mno-sse2 on linux the following
code:
#include <stdio.h>
int main()
{
printf("%f", 2.0);
return 0;
}
clang -mno-sse2 test.c
output:
clang-4.0:
/export/iusers/ziv/llvm2/llvm/lib/Target/X86/X86FloatingPoint.cpp:303: unsigned
int getFPReg(const llvm::MachineOperand&): Assertion `Reg >= X86::FP0 && Reg <=
X86::FP6 && "Expected FP register!"' failed.
and backtrace
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs