nickdesaulniers added a comment.

> Let's first give users tools to weed out the cases where the pointer
> passed into function's argument is underaligned.

Isn't there already `-Walign-mismatch` in clang?  We definitely have 1 
unresolved case of that affecting the Linux kernel ATM: 
https://github.com/ClangBuiltLinux/linux/issues/1328



================
Comment at: clang/docs/ReleaseNotes.rst:52
+  however, there's interest in doing so now.
+  A new ``-fstrict-pointer-alignment`` flag was introduces (default on), which
+  will guard these new optimizations in the future, and allow disabling them.
----------------
s/was//


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100037

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

Reply via email to