def _intc_overflow(x, msg=None):
if x > iinfo(intc).max:<EOL><INDENT>if msg is None:<EOL><INDENT>msg = '<STR_LIT>' % x<EOL><DEDENT>raise OverflowError(msg)<EOL><DEDENT>return intc(x)<EOL>
Cast the value to an intc and raise an OverflowError if the value
    cannot fit.