[Bug target/52415] memcpy to local variable generates unnecessary stack frame for armv7

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 28 11:51:00 GMT 2012


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-02-28
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-28 11:45:04 UTC ---
This is I believe because ARM is a STRICT_ALIGNMENT target and we thus do
not transform the memcpy on the tree level.  On the tree level nothing
guarantees that 'p' is properly aligned.



More information about the Gcc-bugs mailing list