Repository navigation
Commit a65e583
committed
gcc prompts: verify the premise of incomplete-fix findings
The GCC profile repeatedly reports that a fix is narrower than the IPA
function summary without checking that the analysis actually proves the
claimed shape dead. On PR129112 that produced one false positive per round
for loop-header defaults and -fstrict-enums enumerations, although the
unpatched compiler does not fail for them.
Add a false-positive-guide rule and extend the mirror-the-analysis rule in
review-core.md: report an incomplete-fix claim only when the other analysis
actually proves the shape dead, otherwise there is no failure for the patch
to leave reachable.
Closes: #979
Signed-off-by: Sendao Yan <yansendao@126.com>1 parent f143da4 commit a65e583
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
0 commit comments