diff options
author | Marek Polacek <polacek@redhat.com> | 2019-03-06 15:34:50 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-03-06 15:34:50 +0000 |
commit | ec2de569275fe76e9f7e4ca931e987be5638359f (patch) | |
tree | 9678125a06a49ef50d03a5d32139f8fb18fad940 /gcc/fortran/expr.c | |
parent | 4661094069c52581fda8e3ae6493131df7d0b1e8 (diff) | |
download | gcc-ec2de569275fe76e9f7e4ca931e987be5638359f.zip gcc-ec2de569275fe76e9f7e4ca931e987be5638359f.tar.gz gcc-ec2de569275fe76e9f7e4ca931e987be5638359f.tar.bz2 |
PR c++/87378 - bogus -Wredundant-move warning.
* typeck.c (maybe_warn_pessimizing_move): See if the maybe-rvalue
overload resolution would actually succeed.
* g++.dg/cpp0x/Wredundant-move1.C (fn4): Drop dg-warning.
* g++.dg/cpp0x/Wredundant-move7.C: New test.
From-SVN: r269427
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions