------- Comment #2 from hjl dot tools at gmail dot com 2008-09-12 14:21 ------- Try
static int WaitLoop (unsigned int count) { asm ("1: tst %0, %0\n" "bf/s 1b\n" "add #-1, %0": "=r" (count):"0" (count)); return count; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37493