This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/64717] New: -fsanitize=vptr leads to warning: â<anonymous>â may be used uninitialized in this function [-Wmaybe-uninitialized]
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Jan 2015 17:06:42 +0000
- Subject: [Bug sanitizer/64717] New: -fsanitize=vptr leads to warning: â<anonymous>â may be used uninitialized in this function [-Wmaybe-uninitialized]
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64717
Bug ID: 64717
Summary: -fsanitize=vptr leads to warning: â<anonymous>â may be
used uninitialized in this function
[-Wmaybe-uninitialized]
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Created attachment 34522
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34522&action=edit
Testcase (test.ii), compile with: -Wmaybe-uninitialized -fsanitize=vptr
Using -fsanitize=vptr on a mid-size C++ code leads to a few hundreds of the
following warnings:
warning: â<anonymous>â may be used uninitialized in this function
[-Wmaybe-uninitialized]
The test case shows with
g++ -S -Wmaybe-uninitialized -fsanitize=vptr test.ii
also that message.