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

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
one more new reduced testcase with the C++ front-end:
```
struct f{
  int t;
};
int g(int);
int h(int a)
{
  struct f b = {a};
  b.t+=1;
  [[clang::musttail]] return g(a);
}
```

We don't optimized away the eh edge until after tailr1.

I will look into others in a few minutes.

Note I am getting the suspicion we don't want to error out until the last tail
pass if -O2.

Reply via email to