As indicated in the commit message, SPARC has an implicit restriction on number of code constants. Arguably, it's okay to have such restrictions (even though the error message could be better), and other platforms (PowerPC in particular) have similar restrictions. However, SPARCs limit of 13-bit immediates (i.e. 2^10 constants) seems particularly stringent: PowerPC has 16-bit immediates (2^13 constants). So I suggest fixing it.