Potential bug in stmt.c (expand_value_return)
aph@redhat.com
aph@redhat.com
Wed Feb 2 10:33:00 GMT 2000
> 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.
More information about the Gcc
mailing list