[Bug target/78853] aligned reads/writes (vmovdqa) emitted when no such guarantee can be made

2016-12-19 Thread gonnet at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78853 --- Comment #3 from Pedro Gonnet --- OK, thanks for clarifying! The declaration of __m256i only specifies the attributes vector_size and may_alias (https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/i386/avxintrin.h;hb=HEAD#l56), so I'm gues

[Bug c/78853] New: aligned reads/writes (vmovdqa) emitted when no such guarantee can be made

2016-12-18 Thread gonnet at google dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gonnet at google dot com Target Milestone: --- I have an example on https://godbolt.org/g/qZ4SuT, this produces incorrect code since at least gcc-4.9.1 (didn't test earlier