[PATCH] D77374: Fix -fsanitize=array-bounds with comma operator
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 02:07:27 PDT 2020
vitalybuka marked 2 inline comments as done.
vitalybuka added inline comments.
================
Comment at: clang/test/CodeGen/bounds-checking.c:116
+ // CHECK-NOT: @llvm.trap
+ return (s->t, s->a)[i];
+ // CHECK: }
----------------
C version works even without patch
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77374/new/
https://reviews.llvm.org/D77374
More information about the cfe-commits
mailing list