r340842 reprise, for i386 this time. The WARNS level was raised
recently. Unfortunately gcc 6.5 is not able to track whether some
variables are initialized across a series of switch statements in
reloc_non_plt and issues false positive warnings.
Details
Details
- Reviewers
arichardson kib cem
make CROSS_TOOLCHAIN=amd64-gcc TARGET=amd64 buildworld
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 21553 Build 20859: arc lint + arc unit
Event Timeline
Comment Actions
Sure, I do not see why i386 should be different. Put it other way, my opinion is that it is more useful to keep the warning enabled.
Comment Actions
Might as well apply a similar fix to aarch64/reloc.c, which does something sort of similar (symval). Other archs look different enough not to produce the same warning. (aarch64's use may be simpler enough that the warning is not produced, either, but I have not tried it.)