http://llvm.org/bugs/show_bug.cgi?id=14660
David Blaikie <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from David Blaikie <[email protected]> --- On further consideration (& looking at other bugs, and knowing more about debug info now than I did before) it seems it was just the backedge jump to the loop condition that was misattributed to the final line of the loop. Yeah, this is probably OK in the below example, attributing the jump to the '}' but it doesn't work so well in braceless loops: while (a) if (b) c; // this is the end of the loop body, and where the branch is attributed to, even if 'b' is false and thus this 'c' is never evaluated. Very confusing to the user. See PR19864 for some related info. -- 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
