[clang] [compiler-rt] [Clang][Sema] Reland -Wstringop-overread with crash fix (PR #208012)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 7 08:34:55 PDT 2026


================
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -Wno-sizeof-array-argument %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wno-sizeof-array-argument -Wno-stringop-overread %s
----------------
earnol wrote:

Could you please add test proving the sanitizers and `_FORTIFY_SOURCE=1`, 2 or 3 compatible with `-Wstringop-overread`?

https://github.com/llvm/llvm-project/pull/208012


More information about the cfe-commits mailing list