[Bug c++/58714] Bogus overload resolution for the assignment operator in assignment to a conditional

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 7 19:50:00 GMT 2014


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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Aug  7 19:50:04 2014
New Revision: 213734

URL: https://gcc.gnu.org/viewcvs?rev=213734&root=gcc&view=rev
Log:
    PR c++/58714
    * tree.c (stabilize_expr): A stabilized prvalue is an xvalue.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/rv-cond1.C
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/expr/cond12.C
Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/tree.c



More information about the Gcc-bugs mailing list