https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159
--- Comment #26 from Lukas Grätz <lukas.gra...@tu-darmstadt.de> --- (In reply to Eric Botcazou from comment #25) > > Also, it is important for debugging that code compiled with -O_ is also able > > to compile with -O0. > > Maybe, but honoring -fno-delayed-branch is more important on the SPARC. Thank you! I still think compilability is important, so here is another way to honor both: Just for SPARC with -O0, transform the "error: cannot tail-call ..." into a warning "warning: cannot tail-call ..." Perhaps one can add -fno-error-musttail (or similar) and enable this by default for SPARC with -O0. This would also make the test case pass, so I think it currently is the best solution.