From 809e5f8273f9229561005b797093b0ef5f97a072 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Wed, 18 Apr 2012 18:36:32 +0000 Subject: [PATCH] fix accidentally checked-in assert. From-SVN: r186580 --- gcc/ChangeLog | 2 +- gcc/gimplify.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2d9dc0cf3c..fb7a2c348a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -5,7 +5,7 @@ * stmt.c (add_case_node, expand_case): Move logic to remove/reduce case range and type folding from here... * gimplify.c (gimplify_switch_expr): ... to here. Expect NULL_TREE - type, as documented in tree.def + type, as documented in tree.def. 2012-04-18 Jan Hubicka diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 9e7b8461cc8..cef61180c38 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -1578,7 +1578,6 @@ gimplify_switch_expr (tree *expr_p, gimple_seq *pre_p) tree index_type = TREE_TYPE (switch_expr); if (index_type == NULL_TREE) index_type = TREE_TYPE (SWITCH_COND (switch_expr)); - gcc_assert (INTEGRAL_TYPE_P (index_type)); ret = gimplify_expr (&SWITCH_COND (switch_expr), pre_p, NULL, is_gimple_val, fb_rvalue); -- 2.30.2