https://bugs.llvm.org/show_bug.cgi?id=42728
Bug ID: 42728
Summary: compiler infinite loop aliasing bcmp to memcmp
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Core LLVM classes
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Created attachment 22276
--> https://bugs.llvm.org/attachment.cgi?id=22276&action=edit
string.i
Possibly related to https://bugs.llvm.org/show_bug.cgi?id=41035.
declaring bcmp as an alias to memcmp, then using memcmp in a way that it would
be lowered to a bcmp is resulting in the compiler not exiting.
Attached is a test case. Observable at -O1 and above, but not -O0.
Instead, I can work around this with an explicit tail call, but it's curious as
to why the addition of the alias causing the compiler to hang.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs