This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34005] [4.3 Regression] ICE: verify_ssa failed (expected an SSA_NAME object)
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2007 16:37:54 -0000
- Subject: [Bug tree-optimization/34005] [4.3 Regression] ICE: verify_ssa failed (expected an SSA_NAME object)
- References: <bug-34005-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from jakub at gcc dot gnu dot org 2007-11-27 16:37 -------
I see. Though you probably shouldn't care about side effects in the first
argument of COND_EXPR, that's going to be evaluated in any case.
And for 2nd and 3rd argument wouldn't it for loop and vectorizer be sufficient
to just test is_gimple_val? I.e.
if (gimplify_ctxp->allow_rhs_cond_expr
&& is_gimple_val (TREE_OPERAND (*expr_p, 1))
&& is_gimple_val (TREE_OPERAND (*expr_p, 2)))
return gimplify_pure_cond_expr (expr_p, pre_p);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34005