This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Fix variables getting out of their scope


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]