]> granicus.if.org Git - python/commit
SF patch 730594: assert from longobject.c, line 1215.
authorTim Peters <tim.peters@gmail.com>
Mon, 5 May 2003 20:39:43 +0000 (20:39 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 5 May 2003 20:39:43 +0000 (20:39 +0000)
commitc7bc0b98e7cd2190a03da1a5269cdaaea711429e
tree705de58b5defe91503347fc18f5bbaae3b3e3fb5
parentce6829ade0071e5463a5dc5cde7bbb01667073d5
SF patch 730594:  assert from longobject.c, line 1215.
Some version of gcc in the "RTEMS port running on the Coldfire (m5200)
processor" generates bad code for a loop in long_from_binary_base(),
comparing the wrong half of an int to a short.  The patch changes the
decl of the short temp to be an int temp instead.  This "simplifies"
the code enough that gcc no longer blows it.
Objects/longobject.c