https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16427
Jeffrey A. Law changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16427
--- Comment #5 from Richard Guenther 2011-03-09
14:56:26 UTC ---
Related to this is
struct X { int i; int j; int k; };
void foo (void)
{
struct X a, b;
__builtin_memcpy (&a, &b, 4);
}
where we are unable to DCE the memcpy call.
Both issues
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-06-09 11:59 ---
It's now optimized by RTL DSE but we keep the stack allocated.
Re-confirmed on the tree-level. Should be easy to extend DSE to handle this.
--
rguenth at gcc dot gnu dot org changed:
What|Remove