aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-02-13 22:40:35 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-02-13 22:40:35 +0100
commitdbf717037ba28223bb7910f999bded71d11538e1 (patch)
tree1798758e6151b39d365d8c0f57bdd1901c12446a /gcc/combine.c
parent8edd275b3f3d1dbd52d75fe86e1ebe814c545f1e (diff)
downloadgcc-dbf717037ba28223bb7910f999bded71d11538e1.zip
gcc-dbf717037ba28223bb7910f999bded71d11538e1.tar.gz
gcc-dbf717037ba28223bb7910f999bded71d11538e1.tar.bz2
re PR c++/84364 (-Weffc++ warns on "return *this" in template after r253599)
PR c++/84364 * typeck.c (check_return_expr): Don't emit -Weffc++ warning about return other than *this in assignment operators if retval is type dependent expression. * g++.dg/warn/effc4.C: New test. From-SVN: r257640
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions