A Bug in gcc or asm/string.h ?
Please forgive posting to this thread, but I had this issue a few weeks back.
I was messing about with my bespoke Quake2 Xatrix server code, and have added a lot of standard string functions for speed and stuff. I used a few from the linux kernel string functions.
Read the thread for what went on:
http://www.quakesrc.org/forums/viewtopic.php?t=5144
I don't expect a reason here, just I couldn't get it to work at all - but the assembler one did...
Nick
Signature · 2 lines
"When you're chewing on life's gristle, Don't grumble, Give a whistle..."