Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unreachable code warning in specialize.c #94021

Closed
Assignees
brandtbucher
Labels
3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error
@tiran

Description

@tiran

Bug report

Some versions of clang complain about unreachable code in specialize.c

#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.

Metadata

Metadata

Assignees

Labels

3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp