https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688
--- Comment #7 from Daniel Fruzynski <bugzi...@poradnik-webmastera.com> --- In general case yes, this can produce a lot of false positives. I wanted to use this only for strings stored in fixed-size buffer. Existing string-related warnings already uses this information, and this request is to extend diagnostics for other related cases where strings in fixed-size buffers are processed.