This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]