Re: Question regarding 'Conditional jump or move depends on uninitialised value(s)'

Sean McBride <[email protected]> Mon, 17 Jun 2024 12:08:41 -0400
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
On 15 Jun 2024, at 16:41, David Chapman via Valgrind-users wrote:

> Then schedule a pass to go over all your code and initialize everything else.  You won't regret it.

and/or build with -ftrivial-auto-var-init=zero

See also:
https://discourse.llvm.org/t/making-ftrivial-auto-var-init-zero-a-first-class-option/55143/

Sean


_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users