[Bug sanitizer/68099] arm-*-linux-gnueabihf -fsanitize=undefined warning: '<anonymous>' is used uninitialized in this function
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 5 12:51:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list