[llvm-bugs] [Bug 39339] New: [DebugInfo at O2][Dexter] Misleading value for local variable at the return statement.
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 18 04:39:20 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39339
Bug ID: 39339
Summary: [DebugInfo at O2][Dexter] Misleading value for local
variable at the return statement.
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: international.phantom at gmail.com
CC: llvm-bugs at lists.llvm.org
Spawned from bug 39187:
By modifying the original test case to:
--------8<--------
int main() {
volatile int foo = 4;
int beards = 0;
int birds = 0;
if (foo == 4) {
beards = 8;
birds = 3;
} else {
beards = 4;
birds = 6;
}
return beards;
}
-------->8--------
When stopping at the return, the variable 'birds' shows always the value of
zero.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181018/7fc811ca/attachment-0001.html>
More information about the llvm-bugs
mailing list