This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/40071] ICE (aliasing assert) in vectorizable_store at tree-vect-stmts.c:3117
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2009 21:48:30 -0000
- Subject: [Bug tree-optimization/40071] ICE (aliasing assert) in vectorizable_store at tree-vect-stmts.c:3117
- References: <bug-40071-7210@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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