[issue23503] undefined behavior in Objects/obmalloc.c

2016-09-19 Thread STINNER Victor
STINNER Victor added the comment: > As a result, this initializer causes this file to be undefined. Hum, in practice I'm not aware of any crash on any platform. Python is tested on various compilers (GCC, Clang, ICC, Microsoft Visual Studio, etc.), various operating systems (Mac OS X, Linux, W

[issue23503] undefined behavior in Objects/obmalloc.c

2016-09-19 Thread STINNER Victor
STINNER Victor added the comment: It seems that line numbers are for Python 3.5: #define PTA(x) ((poolp )((uchar *)&(usedpools[2*(x)]) - 2*sizeof(block *))) #define PT(x) PTA(x), PTA(x) static poolp usedpools[2 * ((NB_SMALL_SIZE_CLASSES + 7) / 8) * 8] = { PT(0), PT(1), PT(2), PT(3), PT(4

[issue23503] undefined behavior in Objects/obmalloc.c

2016-09-19 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: -> haypo nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe