2 ms·
Wouldn't the best way to check whether something is inlineable to just try it? Why can't GCC be let to try to inline it and if it encounters that it isn't poss
by 1718627440 1y ago
Wouldn't the best way to check whether something is inlineable to just try it? Why can't GCC be let to try to inline it and if it encounters that it isn't possible it can be instructed to just not inline it?
- pornel 1y agoMy guess is that the public library interface of GCC doesn't support it this way. This back-end uses the confusingly-named libgccjit (not as JIT), which gives access only to a subset of GCC's functionality. If something isn't already exposed, it might take a while to get patches to GCC and libgccjit accepted and merged.