This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66115] When using -O0 with -mavx the compiler uses aligned loads for possibly unaligned function parameters
- 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: Mon, 11 May 2015 23:44:04 +0000
- Subject: [Bug target/66115] When using -O0 with -mavx the compiler uses aligned loads for possibly unaligned function parameters
- Auto-submitted: auto-generated
- References: <bug-66115-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66115
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this is invalid as __m128i as an alignment requirement of 16byte but
a+1 is not aligned to 16byte boundary. It just happens to work for -O2.