diff options
author | Marek Polacek <polacek@redhat.com> | 2018-09-20 23:20:19 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-09-20 23:20:19 +0000 |
commit | 17b20aa993c78aa77c9c87cd6d6b90186f4d7c42 (patch) | |
tree | 87096e6587e4e5c1116736373a57567b9d624638 /gcc/tree-ssa-loop-manip.h | |
parent | 0b7fb27b698da38fd13108ecc914613f85f66f9d (diff) | |
download | gcc-17b20aa993c78aa77c9c87cd6d6b90186f4d7c42.zip gcc-17b20aa993c78aa77c9c87cd6d6b90186f4d7c42.tar.gz gcc-17b20aa993c78aa77c9c87cd6d6b90186f4d7c42.tar.bz2 |
PR c++/87109 - wrong ctor with maybe-rvalue semantics.
* call.c (build_user_type_conversion_1): Refine the maybe-rvalue
check to only return if we're converting the return value to a base
class.
* g++.dg/cpp0x/ref-qual19.C: Adjust the expected results.
* g++.dg/cpp0x/ref-qual20.C: New test.
From-SVN: r264452
Diffstat (limited to 'gcc/tree-ssa-loop-manip.h')
0 files changed, 0 insertions, 0 deletions