On 11/20/2013 08:35 AM, Andrew MacLeod wrote:


Bootstraps on x86_64-unknown-linux-gnu with no new regressions. OK for mainline?

Andrew


And I've already fixed the typo in the changelog :-) I had it open in a window but hadn't saved it when I created the patch.

Andrew
        * gimplify.h (gimplify_hasher : typed_free_remove, struct gimplify_ctx):
        Move to gimplify.c.
        * gimplify.c (gimplify_hasher:typed_free_remove): Relocate here.
        (struct gimplify_ctx): Relocate here and add 'malloced' field.
        (gimplify_ctxp): Make static.
        (ctx_alloc, ctx_free): Manage a pool of struct gimplify_ctx.
        (push_gimplify_context): Add default parameters and allocate a 
        struct from the pool.
        (pop_gimplify_context): Free a struct back to the pool.
        (gimplify_scan_omp_clauses, gimplify_omp_parallel, gimplify_omp_task,
        gimplify_omp_workshare, gimplify_transaction, gimplify_body): Don't
        use a local 'struct gimplify_ctx'.
        * gimplify-me.c (force_gimple_operand_1, gimple_regimplify_operands):
        Likewise.
        * omp-low.c (lower_omp_sections, lower_omp_single, lower_omp_master,
        lower_omp_ordered, lower_omp_critical, lower_omp_for,
        create_task_copyfn, lower_omp_taskreg, lower_omp_target,
        lower_omp_teams, execute_lower_omp): Likewise.
        * gimple-fold.c (gimplify_and_update_call_from_tree): Likewise.
        * tree-inline.c (optimize_inline_calls): Likewise.

Reply via email to