It would be nice if memcmp is inlined for small n's It would be nice if these two functions are the same: int g(int *j,int *l) { return memcmp(j,l,4); } int h(int *j, int *l) { return *j - *l; } This save space (not in this function on PPC because of sibcall but it could because gcc does not have to spill to much more to go over the function call) and time (because no function overhead on targets where memcmp is not inlined like PPC).
Stupid me, I press reload, opps. *** This bug has been marked as a duplicate of 12086 ***