[Bug target/69748] SIGSEGV received on vmovdqa instruction during avx-vectorized array initialization

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 10 15:38:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69748

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
On the other hand you're invoking undefined behavior:

/home/trippels/exam.cpp:32:26: runtime error: constructor call on misaligned
address 0x0000013b6c20 for type 'CoreData', which requires 64 byte alignment
0x0000013b6c20: note: pointer points here
 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00
00 00 00  00 00 00 00
              ^ 
/home/trippels/exam.cpp:33:26: runtime error: constructor call on misaligned
address 0x0000013ce370 for type 'CoreData', which requires 64 byte alignment
0x0000013ce370: note: pointer points here
 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00
00 00 00  00 00 00 00
              ^ 
exam.cpp:35:20: runtime error: member access within misaligned address
0x0000013b6c20 for type 'CoreData', which requires 64 byte alignment
0x0000013b6c20: note: pointer points here
 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00
00 00 00  00 00 00 00
              ^ 
exam.cpp:35:51: runtime error: member access within misaligned address
0x0000013ce370 for type 'CoreData', which requires 64 byte alignment
0x0000013ce370: note: pointer points here
 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00
00 00 00  00 00 00 00
              ^


More information about the Gcc-bugs mailing list