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]

Re: Potential bug in stmt.c (expand_value_return)


> 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.

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