GNU C does the same: memory copies can be optimized into memcpy, various operations can be realized as calls into libgcc, etc.