Skip to content

Explain the 7.4-rc2 allmodconfig sections against gcc 16 - #256

Merged
tamnd merged 1 commit into
mainfrom
k2-rules-74rc2
Nov 16, 2026
Merged

tamnd merged 1 commit into
mainfrom
k2-rules-74rc2

Conversation

@tamnd

@tamnd tamnd commented Nov 16, 2026

Copy link
Copy Markdown
Owner

The 7.4-rc2 X64 allmodconfig census against gcc 16 left 38 section differences that no rule explained. This adds a rule for each one, read in the source.

Most are fortify field-spanning WARNs that only gcc 16 keeps. Each was checked against the gcc 14 census of 7.4-rc2 (run 43812538681), which has none of them. The rest are WARNs and pr_debug calls whose condition rucc proves false, with the reason in each rule.

7.4 puts the WARN text in the bug table entry, so a module's item carries it while the rule for the member object names the bare site. linked() now reads the file from the item with the condition taken off, so a member's rule explains the same .c site in the module that links it. There is a test for that case.

Part of #244.

@tamnd
tamnd merged commit 68c19f0 into main Nov 16, 2026
0 of 2 checks passed
@tamnd
tamnd deleted the k2-rules-74rc2 branch November 16, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant