On Fri, Mar 25, 2022 at 10:27 PM David Malcolm via Gcc-patches
wrote:
>
> PR analyzer/104308 reports that when -Wanalyzer-use-of-uninitialized-value
> complains about certain memmove operations where the source is
> uninitialized, the diagnostic uses UNKNOWN_LOCATION:
>
> In function 'main':
> cc1
PR analyzer/104308 reports that when -Wanalyzer-use-of-uninitialized-value
complains about certain memmove operations where the source is
uninitialized, the diagnostic uses UNKNOWN_LOCATION:
In function 'main':
cc1: warning: use of uninitialized value '*(short unsigned int *)&s + 1'
[CWE-457] [-W