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

--- Comment #5 from Sam James <sjames at gcc dot gnu.org> ---
For completeness for searching etc: this shows up with Firefox when building
Skia too:
```
gfx/skia/skia/src/opts/SkRasterPipeline_opts.h:1603:31: error: cannot
tail-call: other reasons
```

amonakov gave:
```
void f();

void h()
{
    [[clang::musttail]] return f();
}

void g()
{
    h();
    h();
}
```
and noinline on h indeed makes it work.

Reply via email to