This is the mail archive of the gcc-patches@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]

[PATCH]: PR 30590 invalid optimization by tree-nrv


Hi,

This is for PR 30590 where named return value optimization
wasn't checking for the partial update of the return result,
doing the transformation when it shouldn't.
The fix has been bootstrapped and regtested on i686 with no extra regressions.
After it has been checked in the mainline, I plan to backport this
to appropriate branch.
OK ?

2007-03-13 Seongbae Park <seongbae.park@gmail.com>

PR tree-optimization/30590

       * tree-nrv.c (tree_nrv): Check for the partial update of the
return value.

--
#pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com";

Attachment: pr30590-tree-nrv.diff.txt
Description: Text document


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