------- Comment #4 from jakub at gcc dot gnu dot org 2007-10-05 10:58 ------- If __builtin_expect is the only problem, then we could certainly allow __builtin_expect to be replaceable (perhaps add a few other builtin calls that never result in any actual calls, like __builtin_object_size).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33619