This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Fix variables getting out of their scope
- From: law at redhat dot com
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: Richard Henderson <rth at redhat dot com>, Daniel Berlin <dberlin at dberlin dot org>, Diego Novillo <dnovillo at redhat dot com>, Zdenek Dvorak <rakdver at kam dot mff dot cuni dot cz>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 20 Aug 2003 16:56:25 -0600
- Subject: Re: [tree-ssa] Fix variables getting out of their scope
- Reply-to: law at redhat dot com
In message <20030820221726.GA26191@atrey.karlin.mff.cuni.cz>, Zdenek Dvorak wri
tes:
>not sure what you mean exactly by this?
>
>For me, the problem is how to arrange the rtl for decls to be emitted,
>stack space allocated, etc., without having to somehow recreate
>BIND_EXPRs before expanding. I don't see a way how to do it without
>massive rewrite of tree->rtl expansion, which is what I don't want to do
>just now.
Also be aware that even if you eliminate BIND_EXPRs before the optimizers
fire up, the optimizers themselves may create BIND_EXPRs -- see replace_stmt.
Though one could argue that at least for the replace_stmt case that
using a BIND_EXPR is really just avoiding rewriting the equivalent of
rationalize_compound_expr which preserves/updates basic block information.
jeff