https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88103

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan  8 10:06:33 2019
New Revision: 267695

URL: https://gcc.gnu.org/viewcvs?rev=267695&root=gcc&view=rev
Log:
        Backported from mainline
        2018-12-04  Jakub Jelinek  <ja...@redhat.com>

        PR c++/88103
        * typeck.c (build_class_member_access_expr): If unary_complex_lvalue
        turned xvalue_p into non-xvalue_p, call move on it.

        * g++.dg/cpp0x/rv-cond3.C: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/rv-cond3.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/typeck.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to