This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Really remove unused variables
- From: Richard Henderson <rth at redhat dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 8 Nov 2003 22:08:13 -0800
- Subject: Re: [tree-ssa] Really remove unused variables
- References: <20031108205131.GA4705@atrey.karlin.mff.cuni.cz>
On Sat, Nov 08, 2003 at 09:51:31PM +0100, Zdenek Dvorak wrote:
> * tree-flow.h (remove_useless_vars): Declare.
> * tree-ssa.c (rewrite_out_of_ssa): Call it.
> * gimple-low.c (expand_var_p, remove_useless_vars): New.
> (expand_used_vars): Expand all variables in the
> cfun->unexpanded_var_list.
Ok.
r~