Paolo 'Blaisorblade' Giarrusso <[email protected]> added the comment:
Also, GCC 2.95 does not support the construct, GCC 2.96 is required. So, I'd suggest defining likely/unlikely unconditionally and using this, which leads to less code overall: # if (__GNUC__ < 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ <= 95)) # define __builtin_expect(exp, prediction) (exp) # endif This is the simplest way to code this, assuming that ICC defines __GNUC__, and my reference guide tells "yes, it defines __GNUC__ and __INTEL_COMPILER". _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue4941> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
