Repository navigation
[AUTOMATED] Report indirect-jump fallback only for surviving calls - #1984
Merged
mahaloz merged 5 commits intoNov 26, 2026
Merged
Conversation
- Retain the failed jump-table classification on its replacement call through analysis. - Keep inline and structured warnings for reachable fallback calls without attributing pruned calls to neighboring statements.
…at its address Flow used to publish the indirect-jump fallback warning before the pipeline ran, so a pipeline warning at the same address printed after it. Publishing the call's warning after the pending pipeline comments flipped that order (`// return-dupe, jump-as-call` in libopencm3's unwind_phase2). Publish it first so every surviving warning prints as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013BBaWTdjVzTz11WxPZmJ9b
Chapter 2 still said flow emits the warning; it now marks the call a bad jump table and the warning follows the call. Chapter 9 names the drive step that publishes it and its order, and the flow comment no longer lists setBadJumpTable as a stub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013BBaWTdjVzTz11WxPZmJ9b
…rning libgcc's Thumb unwind_phase2 keeps its udf trap as a live fallback call and returndup's warning lands on the same address. The stage now checks that it prints `// jump-as-call, return-dupe` as it did before the warning moved to the end of the drive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013BBaWTdjVzTz11WxPZmJ9b
Contributor
|
[AUTOMATED] Pushed three small commits on top:
|
docs/baseline-stages.json is re-recorded on the merged tree (5520 on main plus the stage's four JUMPAS-CALL assertions). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013BBaWTdjVzTz11WxPZmJ9b
mahaloz
added a commit
to phix33/kuna
that referenced
this pull request
Nov 26, 2026
…O64 selection branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013BBaWTdjVzTz11WxPZmJ9b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kuna adds
jump-as-callto a return even when it proved the indirect jump unreachable. The ARM code below comparesr1with itself, sobxne r0cannot execute.Before:
return; // jump-as-call. After:return;.Keep the jump-table fallback on its replacement call and publish the diagnostic only if the call survives simplification. The same fix applies to an unreachable indirect loop restart in Carmel (#1936).
The ARM regression checks both the dead jump and a live conditional call that must keep its warning. No output or scoring changes across 770 DecBench binaries; no output changes across 146 Debian binaries spanning 13 ABIs.
Dependency for the Carmel PR (#1936): this keeps warnings off loop restarts that simplify away.
Model:
openai-codex/gpt-6.2-sol