https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282
--- Comment #7 from V. Pimenov ---
Thank you.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282
--- Comment #6 from Jakub Jelinek ---
See ISO C99, 6.3.2.3/7 (or similar wording in C++ standard).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282
--- Comment #5 from V. Pimenov ---
Could you please explain why does my program have an undefined behaviour in it?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282
--- Comment #3 from V. Pimenov ---
Because gcc should not use SIMD instructions for unaligned arrays.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282
--- Comment #2 from Andrew Pinski ---
Why do you think this is a bug? C rules about alignment apply here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282
--- Comment #1 from V. Pimenov ---
$ gcc --version
gcc (GCC) 4.7.2 20121015 (Red Hat 4.7.2-5)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERC