------- Comment #8 from pinskia at gcc dot gnu dot org 2009-05-12 17:08 ------- (In reply to comment #7) > Isn't __builtin_expect a way to send branch prediction hints?
Not just prediction hints, it helps other optimizations of not moving code around inter block which seems like what you need. Maybe it is better to file a bug about the code you want optimized and the way you want it optimized instead of asking for another feature. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40124