http://llvm.org/bugs/show_bug.cgi?id=16520
Bug ID: 16520
Summary: dead store elimination missing store of existing value
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
void g(), h();
void f(bool b, bool &r) {
r = true;
if (b) {
r = true;
g();
} else {
h();
}
}
opt -O3 fails to remove the second write to r.
--
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