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: denisc at overta dot ru
- Subject: Re: Potential bug in stmt.c (expand_value_return)
- From: aph at redhat dot com
- Date: 2 Feb 2000 18:33:12 -0000
- CC: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
> Date: Wed, 2 Feb 2000 21:26:16 +0300
> From: Denis Chertykov <denisc@overta.ru>
>
>
> AVR port can't adjust stack without additional register.
> reload pass allocates such register, but this register equal to
> return_reg - it's a bug.
>
> I have a simple solution for this problem.
> Emit USEs for return_reg after stack adjusting.
>
> But I have founded this record in ChangeLog.
>
>
> 2000-01-19 Richard Henderson <rth@cygnus.com>
> ...
> * stmt.c (expand_value_return): Don't emit USEs for stupid.
> ...
>
> Why emit USEs was removed ?
This was removed because we've deleted the stupid register allocator
altogether. We no longer use it, even at -O0.
I suggest you check out the current gcc and determine if your problem
is still there. I suspect that not using stupid will solve your
problem.
Andrew.