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/68099] arm-*-linux-gnueabihf -fsanitize=undefined warning: '<anonymous>' is used uninitialized in this function


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.

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