[Bug analyzer/105891] New: RFE: -fanalyzer could complain about pointer arithmetic on non-arrays
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 8 14:39:23 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105891
Bug ID: 105891
Summary: RFE: -fanalyzer could complain about pointer
arithmetic on non-arrays
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Blocks: 105887
Target Milestone: ---
See:
https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-pointerarithm-c
Seems fairly easy to implement via analyzer's region model; unsure what the
signal:noise ratio would be like.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887
[Bug 105887] RFE: clang analyzer warnings that GCC's -fanalyzer could implement
More information about the Gcc-bugs
mailing list