Re: A question about tree-if-conv.c:tree_if_convert_stmt.

2005-05-10 Thread Kazu Hirata
Hi Devang, > Just remove handling of GOTO_EXPR here and in if_convertible_stmt_p(). OK. Will submit a patch. Kazu Hirata

Re: A question about tree-if-conv.c:tree_if_convert_stmt.

2005-05-10 Thread Devang Patel
On May 10, 2005, at 1:37 PM, Kazu Hirata wrote: Now, what would be the right fix here? Something like this? case GOTO_EXPR: break; Just remove handling of GOTO_EXPR here and in if_convertible_stmt_p(). - Devang

A question about tree-if-conv.c:tree_if_convert_stmt.

2005-05-10 Thread Kazu Hirata
Hi, According to the CVS annotate of tree-if-conv.c, Devang Patel checked in the following code in tree_if_convert_stmt. case GOTO_EXPR: /* Unconditional goto */ add_to_predicate_list (bb_for_stmt (TREE_OPERAND (t, 1)), cond); Note that TREE_OPERAND (t, 1) seems wrong. A GOTO_EX