Re: [C++ PATCH] Some further -Wnonnull-compare fixes (PR c++/69850)

2016-02-19 Thread Jason Merrill
OK. Jason

[C++ PATCH] Some further -Wnonnull-compare fixes (PR c++/69850)

2016-02-18 Thread Jakub Jelinek
Hi! As the testcases show, delete[] this; can also introduce artificial comparison that -Wnonnull-compare incorrectly warns on, and the folding can also drop TREE_NO_WARNING if optimizing the operands of the comparison. There is another case in rtti, but I'll need to still test a fix for that, so