https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83038
--- Comment #2 from Gerald Pfeifer <gerald at pfeifer dot com> --- Created attachment 42643 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42643&action=edit Full preprocesssed source file (In reply to David Malcolm from comment #1) > This is a .i file; have the source files it refers to been edited since the > .i file was generated? Just the .i file I stripped down a little. Here is the full original. This shows config.c: In function ‘ConfigureDevicesDlgProc’: config.c:303:29: warning: array subscript -1 is below array bounds of ‘DIDEVICEOBJECTINSTANCEW[256] {aka struct DIDEVICEOBJECTINSTANCEW[256]}’ [-Warray-bounds] DIDEVICEOBJECTINSTANCEW ddo = device->ddo[obj]; ^~~ Note, no subscript (nor -1) present where the ^~~ points to.