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]

[PATCH][TUPLES] Tuplification of gimplify_cp_loop


Hi

   Diego,  this patch fixes lots of "break" and "continue" related
error during libstdc++-v3 build.  Could you please review this?

-Doug

2008-04-26  Doug Kwan  <dougkwan@google.com>

        * cp/cp-gimplify.c (finish_bc_block):  Tuplify.
        (build_bc_goto):  Renamed to get_bc_label.  Return a label
        only.  Uupdate  callers.
        (get_bc_label): New
        (gimplify_cp_loop): Tuplify.  Also check COND for error_mark_node
        before gimplifying it.
        (gimplify_for_stmt): Tuplify.
        (gimplify_while_stmt): Tuplify.
        (gimplify_for_stmt): Tuplify.
        (gimplify_do_stmt): Tuplify.
        (gimplify_switch_stmt): Tuplify.
        (cp_gimplify_omp_switch_stmt): Add temporary code to pop block
        label stack.
        (cp_gimplify_expr): Pass pre_p to gimplify_while_stmt,
        gimplify_do_stmt and gimplify_switch_stmt.  Tuplify
        gimplification of CONTINUE_STMT and BREAK_STMT.

Attachment: patch.txt
Description: Text document


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