[Bug c++/78858] [7 Regression] Bogus -Wnonnull warning involving strcmp with -fsanitize=undefined

2016-12-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78858 --- Comment #7 from Martin Sebor --- While we work toward a resolution it should be possible to avoid the nonnull warnings by using the -fno-sanitize-recover=undefined option.

[Bug c++/78858] [7 Regression] Bogus -Wnonnull warning involving strcmp with -fsanitize=undefined

2016-12-19 Thread marc.mutz at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78858 --- Comment #6 from Marc Mutz --- Ah, I see.

[Bug c++/78858] [7 Regression] Bogus -Wnonnull warning involving strcmp with -fsanitize=undefined

2016-12-19 Thread marc.mutz at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78858 --- Comment #5 from Marc Mutz --- Created attachment 40368 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40368=edit Another TU that has an unfixable -Wnonnull warning g++ -c -pipe -ffunction-sections -O2 -g -fPIC -std=c++1z

[Bug c++/78858] [7 Regression] Bogus -Wnonnull warning involving strcmp with -fsanitize=undefined

2016-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78858 Jakub Jelinek changed: What|Removed |Added Status|WAITING |NEW Target Milestone|---