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

jason@gcc.gnu.org jason@gcc.gnu.org
Wed May 23 03:52:00 GMT 2018


Author: jason
Date: Wed May 23 03:52:56 2018
New Revision: 260563

URL: https://gcc.gnu.org/viewcvs?rev=260563&root=gcc&view=rev
Log:
	PR c++/81420 - not extending temporary lifetime.

	* call.c (extend_ref_init_temps_1): Handle ARRAY_REF.
	* class.c (build_base_path): Avoid redundant move of an rvalue.

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



More information about the Gcc-cvs mailing list