This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/80647] vectorized loop crashes from wrongly assuming 16 byte alignment
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 May 2017 03:41:55 +0000
- Subject: [Bug tree-optimization/80647] vectorized loop crashes from wrongly assuming 16 byte alignment
- Auto-submitted: auto-generated
- References: <bug-80647-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80647
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
pintsrc = (int*)src;
pintdest = (int*)dst;
src and dst are not 4 byte aligned here? This is a bug in your code due to
that. -fsantizer=undefined will catch these at runtime IIRC.