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

Gert-jan Los <gerrit.los at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerrit.los at gmail dot com

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

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

PostScript_Back_End.C.i: In function âvoid fn1()â:
PostScript_Back_End.C.i:8:34: 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]