> I'd like to do more but I'm not sure where the modifications should be > done. Is there any documentation that might be helpful for such SPARC > modifications? It's very technical stuff, hard to explain without significant GCC background. Note that the problem only happens because your variables are volatile; if they aren't, the generated code is optimal. Likewise for the other targets. -- Eric Botcazou