RalfJung added a comment.

I was told that "glibc explicitly only marks memcpy arguments as nonnull for 
external use of headers (i.e. the nonnull assumptions are disabled when 
compiling the implementation)"... okay now re-reading this, that's a statement 
about glibc, not GCC.

Anyway this is outside my expertise. I will try to add Nikita here who said 
"GCC also requires passing equal pointer to memcpy to be legal".


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86993/new/

https://reviews.llvm.org/D86993

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to