[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 18:55:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58714
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Aug 7 18:54:27 2014
New Revision: 213724
URL: https://gcc.gnu.org/viewcvs?rev=213724&root=gcc&view=rev
Log:
PR c++/58714
* tree.c (stabilize_expr): A stabilized prvalue is an xvalue.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/rv-cond1.C
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/expr/cond12.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/tree.c
More information about the Gcc-bugs
mailing list