Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
Some versions of clang complain about unreachable code in specialize.c
Lines 1911 to 1920 in774ef28
| #ifndefPy_STATS | |
| _Py_SET_OPCODE(*instr,COMPARE_OP); | |
| return; | |
| #endif | |
| if (next_opcode==EXTENDED_ARG) { | |
| SPECIALIZATION_FAIL(COMPARE_OP,SPEC_FAIL_COMPARE_OP_EXTENDED_ARG); | |
| gotofailure; | |
| } | |
| SPECIALIZATION_FAIL(COMPARE_OP,SPEC_FAIL_COMPARE_OP_NOT_FOLLOWED_BY_COND_JUMP); | |
| gotofailure; |
Python/specialize.c:1915:13: warning: code will never be executed [-Wunreachable-code]The problem is trivial to fix.