This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Named Return Value Extension Proposal
- To: egcs at egcs dot cygnus dot com
- Subject: Re: Named Return Value Extension Proposal
- From: "E. Robert Tisdale" <edwin at netwood dot net>
- Date: Mon, 22 Mar 1999 19:05:59 -0800
- References: <199903230257.SAA18712@kankakee.wrs.com>
Mike Stump wrote:
> Sounds great, but I missed the proof where you showed
> the compiler can't figure this out for itself. :-(
> I instead favor having the compile do the hard work,
> and not require having the user try and code
> in something besides ANSI C++ in this case.
It can!
But the compiler must have already read the return statement
before it emits the code to construct x
which is something that the egcs compiler does not do.
E. Robert Tisdale <edwin@netwood.net>