Page MenuHomeFreeBSD

stand/i386: quiet gcc -Warray-bounds
AcceptedPublic

Authored by rlibby on Fri, Oct 10, 11:34 PM.
Tags
None
Referenced Files
F131952786: D53036.diff
Sun, Oct 12, 11:26 AM
Unknown Object (File)
Sat, Oct 11, 4:57 AM
Unknown Object (File)
Sat, Oct 11, 2:52 AM
Unknown Object (File)
Sat, Oct 11, 2:51 AM
Unknown Object (File)
Sat, Oct 11, 2:09 AM
Unknown Object (File)
Sat, Oct 11, 1:53 AM
Subscribers

Details

Reviewers
manu
jhb
imp
dab
Summary

GCC has started to warn about memory accesses under address 0x1000.
Tweak it to 0x400 for stand/i386 to avoid warnings for access to BIOS
data area memory and above but still retain most of the warning value.

Test Plan

env CROSS_TOOLCHAIN=amd64-gcc14 make buildworld

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67717
Build 64600: arc lint + arc unit