The testcase is invalid C, while x86_64/i?86 will do the expected thing of doing unaligned loads/stores silently, it won't do that in vectorized code or for atomic accesses. You need to tell the compiler that ia isn't aligned through aligned attribute. E.g. typedef int T __attribute__((aligned (2))); and using T *__restrict ia instead of int *__restrict ia.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/953617 Title: gcc tree optimizer generates incorrect vector load instructions for x86_64 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/953617/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
