Actions
Bug #8375
openExcessive const qualifier for local array of function pointers
Start date:
08/22/2017
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
For instance for module net/sctp/sctp.ko instead of original:
static printfn_t *table[] = ...
C-backend outputs:
printfn_t const *table[5U] = ...
CPAchecker and Clang likely treat this as undefined behavior. GCC looks to be silent.
Thanks to Philipp Wendler for reporting the case.
Updated by Evgeny Novikov over 3 years ago
- Has duplicate Bug #10894: C Back-end incorrectly handles type qualifiers for typedefs added
Updated by Evgeny Novikov over 3 years ago
- Related to Feature #10897: Allow to supress all type qualifiers in output added
Updated by Evgeny Novikov over 3 years ago
- Priority changed from High to Normal
After #10897 was solved this issue is not so important.
Actions