r260673 - in /branches/gcc-8-branch/gcc: cp/Cha...

jason@gcc.gnu.org jason@gcc.gnu.org
Thu May 24 14:29:00 GMT 2018


Author: jason
Date: Thu May 24 14:28:59 2018
New Revision: 260673

URL: https://gcc.gnu.org/viewcvs?rev=260673&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:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/temp-extend1.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/call.c
    branches/gcc-8-branch/gcc/cp/class.c



More information about the Gcc-cvs mailing list