This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21272] SSA_NAME def follows use with -ftree-vectorize
- From: "dpatel at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Apr 2005 00:45:18 -0000
- Subject: [Bug tree-optimization/21272] SSA_NAME def follows use with -ftree-vectorize
- References: <20050428222549.21272.janis@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dpatel at apple dot com 2005-04-29 00:45 -------
Subject: Re: New: SSA_NAME def follows use with -ftree-vectorize
It's my think-o. Try this,
Index: tree-if-conv.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-if-conv.c,v
retrieving revision 2.38
diff -Idpatel.pbxuser -c -3 -p -r2.38 tree-if-conv.c
*** tree-if-conv.c 21 Apr 2005 17:02:15 -0000 2.38
--- tree-if-conv.c 29 Apr 2005 00:44:04 -0000
*************** find_phi_replacement_condition (struct l
*** 701,707 ****
basic_block tmp_bb;
tmp_bb = first_bb;
first_bb = second_bb;
! second_bb = first_bb;
}
/* Check if FIRST_BB is loop header or not. */
--- 701,707 ----
basic_block tmp_bb;
tmp_bb = first_bb;
first_bb = second_bb;
! second_bb = tmp_bb;
}
/* Check if FIRST_BB is loop header or not. */
-
Devang
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21272