Is this code valid? foo() takes a pointer to int and correctly assumes that the memory is int aligned. The test code passes in an unaligned pointer.
gcc-4.7 might be wrong, or might be inlineing foo() and recognising the loss of alignment. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs