Skip to content

fix(x86): keep GCC warning-clean feature builds - #9

Merged
gmh5225 merged 1 commit into
nextfrom
codex/gcc-x86-guard-indentation
Oct 7, 2026
Merged

gmh5225 merged 1 commit into
nextfrom
codex/gcc-x86-guard-indentation

Conversation

@gmh5225

@gmh5225 gmh5225 commented Oct 7, 2026 •

Copy link
Copy Markdown

GCC rejects compressed x86 feature-decoder statements under the existing -Werror=misleading-indentation policy. Expand the affected functions using LLVM formatting without changing decoding tokens or warning flags. Fix the corresponding strict-build issues in x86 unit tests: ambiguous statements, a shadowed scratch name, register-array parameter extents, and combined mnemonic/operand buffer sizes.

Validation: the actual GCC native component target builds; all 70 x86 unit tests pass under GCC 15 and Clang 21. The production decoder has identical preprocessed compiler token streams before and after (868,392 tokens, SHA-256 b74a8faacf4c26048794385f3b27495ac2a13212a662a3079e120df3072d0092). Existing test bytes and assertions are retained. The x86-only cstest link error discovered during broader validation is fixed in #10. Its complete GCC build, 76 unit/negative checks and 444 x86 detail instructions now pass.

@gmh5225
gmh5225 merged commit 8a9db9a into next Oct 7, 2026
109 of 113 checks passed
@github-actions github-actions Bot added the X86 label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants