aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbhooks.py
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2017-08-10 15:07:30 -0400
committerJason Merrill <jason@gcc.gnu.org>2017-08-10 15:07:30 -0400
commit4ce8c5dea53d80736b9c0ba6faa7430ed65ed365 (patch)
tree35dee6c3dcd6215feee0eca6d281f1e78ffc2975 /gcc/gdbhooks.py
parenta0a10c6defa8e52d7b43aff169115028f07fb744 (diff)
downloadgcc-4ce8c5dea53d80736b9c0ba6faa7430ed65ed365.zip
gcc-4ce8c5dea53d80736b9c0ba6faa7430ed65ed365.tar.gz
gcc-4ce8c5dea53d80736b9c0ba6faa7430ed65ed365.tar.bz2
PR c++/80452 - Core 1579, implicit move semantics on return/throw
* cp-tree.h (LOOKUP_PREFER_RVALUE): Now means that we've already tentatively changed the lvalue to an rvalue. * call.c (reference_binding): Remove LOOKUP_PREFER_RVALUE handling. (build_over_call): If LOOKUP_PREFER_RVALUE, check that the first parameter is an rvalue reference. * except.c (build_throw): Do maybe-rvalue overload resolution twice. * typeck.c (check_return_expr): Likewise. From-SVN: r251035
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions