This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42652] vectorizer created unaligned vector insns
- From: "irar at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2010 09:35:51 -0000
- Subject: [Bug tree-optimization/42652] vectorizer created unaligned vector insns
- References: <bug-42652-391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from irar at il dot ibm dot com 2010-01-13 09:35 -------
Yes, I understand that we can't assume that an access is aligned if we can't
prove it's aligned. I don't understand how we can prove that a COMPONENT_REF is
aligned, i.e., if there is a way to check if a struct is packed, or we'd better
decide that we always use versioning for COMPONENT_REFs?
Thanks,
Ira
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42652