On 8/1/23 6:08 PM, David Malcolm wrote:
Or from libgccjit.  FWIW I added it to support Scheme from libgccjit;
see this patch kit:
   https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01287.html

Perhaps there's a case for a frontend attribute for this.
Dave

Thanks. I thought a front-end warning might be enough, as one can add -Werror to the command line to fail if it can't optimize a sibling call.

Is there a reasonable place to put a warning if flag_optimize_sibling_calls is true and a sibling call is *not* optimized?

Brad

Reply via email to