[Bug middle-end/69026] dwarf2out.c:4295 warning: ‘finder?=[...]addr table entry struct union::=?UTF-8?Q?label’ may be used uninitialized
gary at intrepid dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 24 04:10:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69026
--- Comment #1 from Gary Funck <gary at intrepid dot com> ---
This can be most easily reproduced by doing a regular configure and make, then
cd-ing into the gcc build directory and forcing a re-compilation of dwarf2out.c
at -O3.
cd bld/gcc
rm dwarf2out.o
make CXXFLAGS='-O3 -g' dwarf2out.o
[...]
/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/dwarf2out.c: In function
‘addr_table_entry* add_addr_table_entry(void*, ate_kind)’:
/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/dwarf2out.c:4295:41: error:
‘finder.addr_table_entry::addr.addr_table_entry::addr_table_entry_struct_union::label’
may be used uninitialized in this function [-Werror=maybe-uninitialized]
inchash::add_rtx (a->addr.rtl, hstate);
^
/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/dwarf2out.c:4345:20: note:
‘finder.addr_table_entry::addr.addr_table_entry::addr_table_entry_struct_union::label’
was declared here
addr_table_entry finder;
^~~~~~
More information about the Gcc-bugs
mailing list