r279069 - in /trunk/gcc: cp/ChangeLog cp/call.c...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Dec 6 23:43:00 GMT 2019


Author: jakub
Date: Fri Dec  6 23:43:45 2019
New Revision: 279069

URL: https://gcc.gnu.org/viewcvs?rev=279069&root=gcc&view=rev
Log:
	PR c++/92831
	* call.c (build_conditional_expr_1): For ?: with omitted middle
	operand use cp_stabilize_reference if arg1 is glvalue_p rather than
	just if it is lvalue_p.

	* g++.dg/ext/temp-extend1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/temp-extend1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list