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

Re: can DECL_RESULT be 0?


On Mon, 2005-11-14 at 18:16, Gabriel Dos Reis wrote:
> I was under the impression that  the DECL_RESULT is nullified for a
> function that passes the named return-value optimization.

Just using grep, I don't see any obvious evidence of that.  I don't know
where to look for more info.  I see a number of places in the front end
that clear DECL_RESULT, but it appears that they are all clearing it so
that it can be recomputed.  Perhaps it is being nullified in some way
other than setting the field to zero.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com


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