Potential bug in stmt.c (expand_value_return)

Andrew Haley aph@pasanda.cygnus.co.uk
Wed Feb 2 10:48:00 GMT 2000


> From: Joern Rennecke <amylaar@cygnus.co.uk>
> Date: Wed, 2 Feb 2000 18:43:23 +0000 (GMT)
> 
> > 2000-01-19  Richard Henderson  <rth@cygnus.com>
> > 	...
> > 	* stmt.c (expand_value_return): Don't emit USEs for stupid.
> > 	...
> > 
> > Why emit USEs was removed ?
> 
> stupid was removed, so it stands reason that all the USEs that were
> emitted only for the benefit of stuid are no longer needed.
> However, the USEs of the return value are not only needed by stupid, but
> also by some optimizations, so I suppose this removal was accidential.

Oops.  I stand corrected.  I guess we'd better put that USE back as
soon as possible.

Andrew.



More information about the Gcc mailing list