This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r126560 - in /branches/gimple-tuples-branch/gcc...
- From: cmatthews at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 11 Jul 2007 21:57:28 -0000
- Subject: r126560 - in /branches/gimple-tuples-branch/gcc...
Author: cmatthews
Date: Wed Jul 11 21:57:28 2007
New Revision: 126560
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126560
Log:
* tree-pretty-print.c (dump_generic_node): Removed space before default
label colon.
* tree.h (sort_case_labels): Moved to gimple-ir.h.
* gimplify.c (sort_case_labels): Changed to a vector instead of tree
vector.
(gimplify_switch_expr): Initial implementation with tuples.
(gimplify_expr): Changed gimplify_case_label_expr parameter.
(gimplify_case_label_expr): Added a gs_seq parameter, and put cases in that.
(dump_gimple_stmt): Removed semicolon.
(dump_gs_label): Refactored from dump_gimple_expr.
(dump_gs_switch): Added.
(gs_build_switch_vec): Added.
* gimple-ir.c (gs_build_switch_1): Added.
(gs_build_switch): Refactored to use gs_build_switch_1.
(gs_build_switch_vec): Added.
* gs_switch.c: New test case.
* gs_switch1.c: New test case.
* gs_switch2.c: New test case.
Added:
branches/gimple-tuples-branch/gcc/testsuite/gcc.dg/gimple/gs_switch.c
branches/gimple-tuples-branch/gcc/testsuite/gcc.dg/gimple/gs_switch2.c
branches/gimple-tuples-branch/gcc/testsuite/gcc.dg/gimple/gs_switch3.c
Modified:
branches/gimple-tuples-branch/gcc/ChangeLog.tuples
branches/gimple-tuples-branch/gcc/gimple-ir.c
branches/gimple-tuples-branch/gcc/gimple-ir.h
branches/gimple-tuples-branch/gcc/gimple-pretty-print.c
branches/gimple-tuples-branch/gcc/gimplify.c
branches/gimple-tuples-branch/gcc/tree-eh.c
branches/gimple-tuples-branch/gcc/tree-pretty-print.c
branches/gimple-tuples-branch/gcc/tree.h