------- Comment #6 from pinskia at gcc dot gnu dot org 2010-08-25 11:24 ------- Change: __asm__ volatile ("":::"memory"); To: __asm__ volatile ("#clobber mem":::"memory");
And you will see there is an instruction which GCC thinks is there. Again this has nothing to do with __builtin_expect except for the different choices in basic block reordering that is happening. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45340