This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/64717] -fsanitize=vptr leads to warning: â<anonymous>â may be used uninitialized in this function [-Wmaybe-uninitialized]


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64717

--- Comment #2 from Gert-jan Los <gerrit.los at gmail dot com> ---
Created attachment 34616
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34616&action=edit
test case with virtual base class

version: gcc version 5.0.0 20150128 (experimental) (GCC)
options: -O -fsanitize=vptr -Werror=uninitialized

gap_widths.C.i: In function âvoid fn1()â:
gap_widths.C.i:13:41: error: â<anonymous>â is used uninitialized in this
function [-Werror=uninitialized]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]