https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113673
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-01-30
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Here is a C++ testcase which does something similar to `-finstrument-functions`
does to the IR (`-Os -fnon-call-exceptions -ftrapv` is only needed):
```
struct s { ~s(); };
void
h (unsigned char *data, int c)
{
s a1;
while (c)
{
int m = *data++ << 8;
m += *data++;
}
}
```