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:33:41 +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 #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-11 12:33:41 UTC ---
I'd say the problem is that useless_type_conversion_p considers the overaligned
double type compatible to double, yet get_vectype_for_scalar_type returns
non-NULL for the normally aligned one and NULL for the overaligned one.
During vectorizer analysis phase, we assume it is enough to call that function
just for a single type for the stmt, not check all 3 types, that succeeds, but
during transform phase we call it on all 3 and ICE.