This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/54894] [4.6/4.7/4.8 Regression] internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1286
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Oct 2012 12:22:47 +0000
- Subject: [Bug tree-optimization/54894] [4.6/4.7/4.8 Regression] internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1286
- Auto-submitted: auto-generated
- References: <bug-54894-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54894
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-11 12:22:47 UTC ---
You should be using __builtin_assume_aligned builtin, i.e.
double *Ap = __builtin_assume_aligned (&A[ih+il][kh], 16);
instead of the hacks with the overaligned scalar pointer, that doesn't improve
vectorization, but actually prohibits it. That said, of course gcc shouldn't
ICE on this.