[Bug tree-optimization/32681] ice for legal C code with flags -ffast-math -O3 -ftree-vectorize
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 9 10:23:00 GMT 2007
------- Comment #5 from ubizjak at gmail dot com 2007-07-09 10:23 -------
It's a copy'n'pasto. Attached patch fixes the failure:
Index: tree-if-conv.c
===================================================================
--- tree-if-conv.c (revision 126478)
+++ tree-if-conv.c (working copy)
@@ -751,7 +751,7 @@ find_phi_replacement_condition (struct l
AND it with the incoming bb predicate. */
if (second_edge->aux)
*cond = build2 (TRUTH_AND_EXPR, boolean_type_node,
- *cond, first_edge->aux);
+ *cond, second_edge->aux);
if (TREE_CODE (*cond) == TRUTH_NOT_EXPR)
/* We can be smart here and choose inverted
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-07-09 06:22:52 |2007-07-09 10:23:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32681
More information about the Gcc-bugs
mailing list