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] switch_expr lowering, part 1


On Thu, Oct 30, 2003 at 11:57:33PM +0100, Jan Hubicka wrote:
> (my current problem is that I need old cfg_cleanup before loop to keep
> loop notes right)

Why bother?  We're currently *generating* loop notes now, always.
We can delay that until immediately before the old loop pass runs.

> What is the uneasy stuff?

Finish lowering BIND_EXPR.  Finish statement_list patch.
Not *difficult* so much as tedious.

> As I remember, Zdenek was mentioning that the major problem is increased
> memory usage when all local array are allocated at the beggining of
> function body.  With current scheme of scopes we can share memory used
> by both.  But provided how many dificulties this brings, I think we can
> give this up and later think about implementing kind of stack-allocation
> algorithm later in the tree-SSA compilation path.

No, I'm suggesting neither that scopes be dropped nor variables be
moved to the outermost scope.  Just need to somehow be rid of the
BIND_EXPR out of the representation.

Not sure exactly how this needs to work, just yet.  Possibly we
mark basic blocks with the associated BLOCK and don't allow bb's
from different blocks to be merged.


r~


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