[PATCH] D8822: Proposed fix for PR23076 (conditional branch debug line info)
Adrian Prantl via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 19 10:15:06 PST 2016
aprantl added a subscriber: aprantl.
aprantl added a comment.
Reposting dblaikie's example hoping that phabricator doesn't mangle it this time:
1: int main() {
2: if (
3: tr()
4: &&
5: tr()
6: )
7: func();
8: if (
9: fa()
10: &&
11: tr()
12: )
13: func();
14: }
15:
G++-4.8:
3, 4, 5, 4, 2, 7
10, 11, 9, 15
Clang before the change:
3, 4, 5, 3, 7
10, 11, 15
Clang after the change:
3, 5, 7
10, 15
http://reviews.llvm.org/D8822
More information about the cfe-commits
mailing list