http://llvm.org/bugs/show_bug.cgi?id=16954
Bug ID: 16954
Summary: ret %eax "using an undefined physical register"
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 11077
--> http://llvm.org/bugs/attachment.cgi?id=11077&action=edit
Reduced test case.
On r188867, using the attached reduced test case, Clang dies with the following
error:
*** Bad machine code: Using an undefined physical register ***
- function: _Z18read_response_sizev
- basic block: BB#7 if.end (0x7fb7388f0010)
- instruction: RET %EAX; dbg:<unknown>:33
- operand 0: %EAX
The command used to compile is
clang -cc1 -emit-obj -gdwarf-2 -O1 -fsanitize=address,init-order
-stack-protector 1 -x c++ main.cpp
The operating system is OS X, x86_64.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs