Brian O'Mahoney wrote: Please don't cross-post to gcc- and gcc-help > "Since version 4.3, gcc changed its behaviour concerning the x86/x86-64 > ABI and the direction flag, that is it now assumes that the direction > flag is cleared at the entry of a function and it doesn't clear once > more if needed. > > This causes some problems with the Linux kernel which does not clear > the direction flag when entering a signal handler. The small code below > (for x86-64) demonstrates that. ..." If you dont know see www.lwn.net. Just to save everyone's time: this kernel bug is long (well, since March) fixed. Andrew.