[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-17 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-17 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 --- Comment #8 from Sergei Trofimovich --- (In reply to Sergei Trofimovich from comment #6) > (In reply to Martin Sebor from comment #4) > > The warning in the test case in comment #3 looks correct to me. > > Thank you! I'll try to re-reduce

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-16 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 --- Comment #7 from Sergei Trofimovich --- Similar example from xmms2 project, dynamic_cast<> version: #include // main loop interface struct I { virtual void run(); }; struct M : public I { virtual void run(); void

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-09 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 --- Comment #6 from Sergei Trofimovich --- (In reply to Martin Sebor from comment #4) > The warning in the test case in comment #3 looks correct to me. Thank you! I'll try to re-reduce and not introduce new NULLs.

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 Martin Sebor changed: What|Removed |Added Component|tree-optimization |c++ --- Comment #5 from Martin Sebor