I'll check later if egcs fixes the problem and if not I'll send in
a bug report.
It would be great if you can produce a small test case, this makes the
bug much easier to find.
Just a side question, did %ebx have a valid value somewhere a bit
further up from the asm snippet you showed? The problem might be that
gcc believes that %ebx's contents are preserved even over volatile
operations and function calls.
Later,
David "Sparc" Miller
davem@caip.rutgers.edu