This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: dead code removal in flow.c cleanup
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: jh at suse dot cz
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Mar 2002 10:42:21 -0500 (EST)
- Subject: Re: dead code removal in flow.c cleanup
> From: Jan Hubicka <jh@suse.cz>
>
> > Jan,
> >
> > > flow.c:764: warning: `ndead' might be used uninitialized in this function
> >
> > If you look at the code in question in the function
> > update_life_info_in_dirty_blocks, `ndead' is clearly uninitialized if
> > and when (n==0). I don't know if that's ever possible, but if it is
> > then the function returns (ndead == unitialized garbage).
> >
> > Would you please take a look and take steps to remove the warning?
>
> Oops, I already fixed that in my tree and somehow forgot to push it into
> the tree. I will do so ASAP.
> Honza
Great, thanks!
--
Kaveh R. Ghazi Director of Systems Architecture
ghazi@caip.rutgers.edu Qwest Global Services