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

--- Comment #26 from David C. Partridge <david.partridge at perdrix dot co.uk> 
---
The actual production code was compiled with 13.1 with options:
`-mavx;-mavx2;-mfma;-mssse3;-msse4.2`
but was crashing with a SEGV in the intrinsics code because the data was
incorrectly aligned.  With AVX2 enabled the data should have been aligned to
(at least) 32 bytes.

IMHO you shouldn't set alignof to any other value than what the AVX specs say. 
Setting it to 16 is definitely wrong.

D.

Reply via email to