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 tree-optimization/40071] ICE (aliasing assert) in vectorizable_store at tree-vect-stmts.c:3117



------- Comment #8 from ebotcazou at gcc dot gnu dot org  2009-05-15 21:48 -------
> The issue here is that for
> 
> VIEW_CONVERT_EXPR<struct loop_optimization1__r
> *[D.2335:D.2339]>(*_init$P_ARRAY_1)[D.2354_35]
> 
> we use the alias set of *_init$P_ARRAY_1 because the array elements are
> non-aliased.  As the vectorizer now creates an alias the resulting
> stores through the pointer to the vector type do not conflict with the
> original stores and we have created wrong code.

Thanks for the analysis.  Looks like we lack non-aliased vectors here. ;-)


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-05-15 09:14:03         |2009-05-15 21:48:29
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40071


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