https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- IMHO we at least shouldn't drop it in cases like: int foo (int); static inline int bar (int x) { [[gnu::musttail]] return foo (x + 1); } int baz (int x) { bar (x * 4); // The foo call from here shouldn't have musttail. [[gnu::musttail]] return bar (x * 2); // But from here it should have it }