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

--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note starting in GCC 13 at -O3, we are able to optimize this all the way to:
```
int f ()
{
  int * _54;

  <bb 2> [local count: 114863531]:
  _54 = operator new (16);
  MEM <uint128_t> [(char * {ref-all})_54] = 0x30000000200000001;
  operator delete (_54, 16);
  return 0;

}
```
If we change the name of the function to f rather than main. In GCC 14 we able
to optimize even without the name change (there has been some inlining heurstic
changes there).

Reply via email to