A function clone may prevent GCC from inlining a callee into the caller.
I noticed this when testing target_clones features for performance tuning.
Tested GCC version: GCC 14.2 and GCC master commit 1de156eb2bb445cd0e0a582944dcd75d085f30c9 on both x86-64 and RISC-V target.
A example is shown below:
git clone https://github.com/eembc/coremark.git