Wredundant-move6.C
839 Bytes
-
PR c++/88692, c++/87882 - -Wredundant-move false positive with *this. · 1439f355
* typeck.c (maybe_warn_pessimizing_move): Return if ARG isn't ADDR_EXPR. * g++.dg/cpp0x/Wredundant-move5.C: New test. * g++.dg/cpp0x/Wredundant-move6.C: New test. From-SVN: r267862
Marek Polacek committed