[Bug middle-end/50716] Segmentation fault caused by misaligned vector access
artyom.shinkaroff at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 13 19:51:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50716
Artem Shinkarov <artyom.shinkaroff at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |artyom.shinkaroff at gmail
| |dot com
--- Comment #2 from Artem Shinkarov <artyom.shinkaroff at gmail dot com> 2011-10-13 19:51:36 UTC ---
(In reply to comment #1)
> I think vec has an alignment requirement which makes the testcase invalid.
Ok, but in that case the compiler should say something to the user. Rejecting
such a code could be a first step.
However, in general I think that the compiler should analyse the code and
figure our which instruction suits in the given situation. If alignment can be
evaluated -- aligned move, unaligned move otherwise.
More information about the Gcc-bugs
mailing list