This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Potential bug in stmt.c (expand_value_return)
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: Potential bug in stmt.c (expand_value_return)
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 2 Feb 2000 14:30:25 -0800
- Cc: Denis Chertykov <denisc at overta dot ru>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <20000202134352.C10382@cygnus.com> <200002022226.WAA01406@phal.cygnus.co.uk>
On Wed, Feb 02, 2000 at 10:26:02PM +0000, Joern Rennecke wrote:
> > If you adjust the stack before the return register is loaded,
> > you don't need the use.
>
> But what if the return register is to be loaded from the stack?
do_pending_stack_adjust is not the epilogue. It's
popping the arguments pushed for previous calls.
Any stack slot live data is in will still be live
after do_pending_stack_adjust.
r~