* -Wuninitialized on clang
@ 2015-02-27 18:55 Jack Howarth
0 siblings, 0 replies; only message in thread
From: Jack Howarth @ 2015-02-27 18:55 UTC (permalink / raw)
To: gdb
The gdb-7.9 build on clang reports variable 'uoffset' is uninitialized
when used in the -Wuninitialized warnings...
./compile/compile-loc2c.c:729:6: warning: variable 'uoffset' is
uninitialized when used here [-Wuninitialized]
uoffset += dwarf2_per_cu_text_offset (per_cu);
^~~~~~~
./compile/compile-loc2c.c:667:23: note: initialize the variable
'uoffset' to silence this warning
uint64_t uoffset, reg;
^
= 0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-27 18:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-27 18:55 -Wuninitialized on clang Jack Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).