This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/50716] Segmentation fault caused by misaligned vector access
- From: "artyom.shinkaroff at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Oct 2011 19:51:36 +0000
- Subject: [Bug middle-end/50716] Segmentation fault caused by misaligned vector access
- Auto-submitted: auto-generated
- References: <bug-50716-4@http.gcc.gnu.org/bugzilla/>
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.