https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36409

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2009-04-21 14:42:20         |2021-12-20

--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Still a problem even today.
The 'optimized' gimple code is:

__attribute__((noinline))
void foo (struct Foo f)
{
  int * _1;

  <bb 2> [local count: 1073741824]:
  _1 = f.p;
  *_1 = 0;
  return;

}

which then gets expanded to copy the incoming argument to the stack

Reply via email to