* gimplify.c (gimplify_expr): Allow COND_EXPR if
gimplify_ctxp->allow_rhs_cond_expr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142476
138bc75d-0d04-0410-961f-
82ee72b054a4
-2008-12-05 Uros Bizjak <ubizjak@gmail.com>
+2008-12-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/37716
+ * gimplify.c (gimplify_expr): Allow COND_EXPR if
+ gimplify_ctxp->allow_rhs_cond_expr.
+
+2008-12-05 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_fold_vector_minmax): Create
VIEW_CONVERT_EXPR to convert output to long_integer_type_node.
&& code != ASM_EXPR
&& code != BIND_EXPR
&& code != CATCH_EXPR
- && code != COND_EXPR
+ && (code != COND_EXPR || gimplify_ctxp->allow_rhs_cond_expr)
&& code != EH_FILTER_EXPR
&& code != GOTO_EXPR
&& code != LABEL_EXPR