re PR c++/69850 (unnecessary -Wnonnull-compare warning)
PR c++/69850 * rtti.c (ifnonnull): Set TREE_NO_WARNING on the condition, use NE_EXPR instead of EQ_EXPR and swap last two arguments on COND_EXPR. * g++.dg/warn/Wnonnull-compare-4.C: New test. From-SVN: r233568
Showing
Please
register
or
sign in
to comment