gimplify.c (sort_case_labels): New.
authorSteven Bosscher <stevenb@suse.de>
Sun, 30 May 2004 18:19:18 +0000 (18:19 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sun, 30 May 2004 18:19:18 +0000 (18:19 +0000)
commit0f1f6967a21f8e4cc6ca7448dd9adc5d09c99edb
tree1a5a34f7b426458bd3deb75deb9497ec745574a6
parentbd0a5aab91e49e2c36aab756bca6c1d4676a5db6
gimplify.c (sort_case_labels): New.

* gimplify.c (sort_case_labels): New.  Split out from...
(gimplify_switch_expr): ...here.  Use it.
* tree-eh.c (lower_try_finally_switch): Sort the labels of
the SWITCH_EXPR created here before leaving the function.
* tree.c (sort_case_labels): Add prototype.

From-SVN: r82462
gcc/ChangeLog
gcc/gimplify.c
gcc/tree-eh.c
gcc/tree.h