------- Comment #17 from jason at gcc dot gnu dot org 2009-03-11 05:01 ------- Subject: Bug 39086
Author: jason Date: Wed Mar 11 05:01:30 2009 New Revision: 144772 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144772 Log: PR debug/39086 * tree-nrv.c (tree_nrv): Don't do this optimization if the front end already did. Notice GIMPLE_CALL modifications of the result. Don't copy debug information from an ignored decl or a decl from another function. Added: trunk/gcc/testsuite/g++.dg/opt/nrv15.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-nrv.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39086