------- Comment #6 from pinskia at gcc dot gnu dot org  2009-05-12 16:48 -------
Sounds like you want to use __builtin_expect.

Also GCC uses heuristics to figure out:
    if(pred)
is taken most of the time because it is comparing a pointer to NULL.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40124

Reply via email to