> Another idea with more flexibility is a per-struct/class type attribute > that says whether to use a register or not. It should be inherited of > course. I'd like that a lot. That could also help C code that makes heavy use of unions that are passed as parameters and return values.