[issue38015] inline function generates slightly inefficient machine code

Greg Price report at bugs.python.org
Wed Sep 18 01:11:29 EDT 2019


Greg Price <gnprice at gmail.com> added the comment:

See followup at https://bugs.python.org/issue38205 and https://bugs.python.org/issue37812#msg352670 .

The patch in GH-15710 had a side effect of introducing a call to `Py_UNREACHABLE` inside a comma-expression.  A subsequent commit 3ab61473b changed `Py_UNREACHABLE` in a way that made that a syntax error; the issue wasn't caught then because the code is only compiled if `NSMALLNEGINTS + NSMALLPOSINTS <= 0`.  Detailed discussion on those threads.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38015>
_______________________________________


More information about the Python-bugs-list mailing list