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

--- Comment #4 from Fei Yang <felix.yang at huawei dot com> ---
(In reply to Markus Trippelsdorf from comment #2)
> You're invoking undefined behavior:

test.c:34:12: runtime error: store to
> misaligned address 0x000000401c8c for type 'unsigned char *', which requires
> 8 byte alignment
0x000000401c8c: 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
              ^ 

So your testcase is invalid.

Any reference? The testcase works fine without vectorization. thanks

Reply via email to