[Bug c/43009] segmentation fault with -O3 when accessing byte-aligned array as dwords

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 10 10:02:00 GMT 2010



------- Comment #8 from ebotcazou at gcc dot gnu dot org  2010-02-10 10:02 -------
> The non-working code is vectorized, and vectorized code can have strict
> alignment requirements.

Yes, the alignment requirements are surreptitiously changed by -ftree-vectorize
on x86 and x86-64.  This ought to be documented in the manual.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43009



More information about the Gcc-bugs mailing list