https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181
--- Comment #8 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> --- (In reply to Xi Ruoyao from comment #7) > We should make a new PR requesting for clang -Warray-bounds as well. It's > a part of meta-bug PR30334. Sorry. We have -Warray-bounds, but not as well as clang's. For example clang warns for "aa"[4], but GCC doesn't.