[Bug tree-optimization/27299] [4.1 Regression] vectorizer generates aligned accesses to unaligned memory

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 25 14:23:00 GMT 2006



------- Comment #4 from reichelt at gcc dot gnu dot org  2006-04-25 14:23 -------
Richard, you confirmed this.

But to me this looks like the code is violating the aliasing rules
(which would mean that the PR in invalid):
    *(uint64_t *)dest = *(uint64_t *)src;
but
    uint8_t *dest
    const uint8_t *src


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org, reichelt at gcc dot gnu
                   |                            |dot org


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



More information about the Gcc-bugs mailing list