https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109290
--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> --- Created attachment 54760 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54760&action=edit Preprocessed file -Warray-bounds -O2 -fno-strict-aliasing -fcf-protection=branch -fno-delete-null-pointer-checks In function ‘btrfs_show_u64’, inlined from ‘btrfs_space_info_show_disk_used’ at fs/btrfs/sysfs.c:875:493: fs/btrfs/sysfs.c:637:6: warning: array subscript -52 is outside array bounds of ‘struct kobject[36028797018963967]’ [-Warray-bounds=] In function ‘btrfs_show_u64’, inlined from ‘btrfs_space_info_show_disk_total’ at fs/btrfs/sysfs.c:876:494: fs/btrfs/sysfs.c:637:6: warning: array subscript -51 is outside array bounds of ‘struct kobject[36028797018963967]’ [-Warray-bounds=] ...