This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r162539 - in /trunk/gcc: ChangeLog testsuite/Ch...


Author: rguenth
Date: Mon Jul 26 16:01:55 2010
New Revision: 162539

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162539
Log:
2010-07-26  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43784
	* tree-nrv.c (dest_safe_for_nrv_p): It's not safe to NRV
	if the destination is used by the call.

	* gcc.c-torture/execute/pr43784.c: New testcase.
	* g++.dg/torture/pr43784.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr43784.C
    trunk/gcc/testsuite/gcc.c-torture/execute/pr43784.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-nrv.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]