Created attachment 9631 [details] Example fix for X86/X86_64 Calls to coldcc functions unnecessarily are treated as clobbering registers in the same manner as normal calls. Instead, we should better model the "this call clobbers nothing" property that makes coldcc useful. Attached is a works-for-me(TM) patch that resolves this issue on x86_64, and might work on X86 as well. Ideally this could be implemented in a more target-agnostic manner, but I'm not sure how to best approach that. I leave that to the good folk more familiar with the related components :).
Fixed in r175911 (Feb 2013).