This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures
- From: "irar at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2008 09:35:19 -0000
- Subject: [Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures
- References: <bug-37491-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from irar at il dot ibm dot com 2008-09-15 09:35 -------
(In reply to comment #8)
> Well, I think the ICE happens because for stores we call
> vect_create_data_ref_ptr with an explicit vector type which is based on
> the rhs, not the lhs. The ICE should never occur if we based the
> vector type on the lhs.
No, no. The ICE occurs when we base the vector type on the lhs!
vector void (*<T48f>) (int) * ivtmp.30;
vector void (*<T49a>) (int_t) vect_cst_.23;
*ivtmp.30_13 = vect_cst_.23_9;
The rhs and the lhs are not the same (and do not alias).
If the vector type is based on the rhs, then everything is ok here, but not in
vectorize2.c.
Ira
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37491