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: amylaar at cygnus dot co dot uk
- Subject: Re: Potential bug in stmt.c (expand_value_return)
- From: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Date: 2 Feb 2000 18:48:00 -0000
- CC: denisc at overta dot ru, gcc at gcc dot gnu dot org
> 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.