[issue24999] Segfault in test_re.test_sre_character_class_literals() when Python is compiled by ICC

Stefan Krah report at bugs.python.org
Tue Sep 8 13:23:55 CEST 2015


Stefan Krah added the comment:

Yes, according to C99 the shift is undefined:

6.5.7:

"If the value of the right operand is negative or is greater than
 or equal to the width of the promoted left operand, the behavior
 is undefined."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24999>
_______________________________________


More information about the Python-bugs-list mailing list