This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/68099] arm-*-linux-gnueabihf -fsanitize=undefined warning: '<anonymous>' is used uninitialized in this function
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Nov 2015 12:51:39 +0000
- Subject: [Bug sanitizer/68099] arm-*-linux-gnueabihf -fsanitize=undefined warning: '<anonymous>' is used uninitialized in this function
- Auto-submitted: auto-generated
- References: <bug-68099-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68099
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |mpolacek at gcc dot gnu.org
Resolution|--- |WORKSFORME
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I've built a cross-compiler for arm-linux-gnueabihf target and can't reproduce
the issue with GCC trunk:
$ ./cc1plus -I. /tmp/test.i -quiet -O3 -fsanitize=undefined -Wall -Wextra
dog.cpp: In function âint main(int, char**)â:
dog.cpp:31:14: warning: unused parameter âargcâ [-Wunused-parameter]
dog.cpp:31:31: warning: unused parameter âargvâ [-Wunused-parameter]
so I think this was really fixed in PR66977.
Hence closing, please reopen if you can reproduce with GCC trunk, or if you
think I goofed something up, thanks.