On Wed, 1 Aug 2018 at 10:52, Hans Wennborg via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> We hit this in Chromium too, see crbug.com/869824
>
> I've reverted in r338602
>
Thanks, fixed and re-landed in r338941.
> On Wed, Aug 1, 2018 at 5:26 PM, Benjamin Kramer via cfe-commits
> wrote:
We hit this in Chromium too, see crbug.com/869824
I've reverted in r338602
On Wed, Aug 1, 2018 at 5:26 PM, Benjamin Kramer via cfe-commits
wrote:
> It's pretty easy to make this crash
>
> $ cat memcpy.c
> void foo() {
> int a[1], b;
> memcpy((char*)a, (const char*)&b, (unsigned long)4);
> }
It's pretty easy to make this crash
$ cat memcpy.c
void foo() {
int a[1], b;
memcpy((char*)a, (const char*)&b, (unsigned long)4);
}
$ clang memcpy.c
llvm/include/llvm/ADT/SmallVector.h:178: const_reference
llvm::SmallVectorTemplateCommon::back() const [T = clang::APValue::LValue
PathEntry]: A