https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655
--- Comment #7 from Paul Menzel ---
Thank you for the analysis. Excuse my ignorance, but the referenced bug
(possible dup) says it’s a regression in GCC 11, but it does not show up here
with GCC 11. Are more issues tracked in bug 99578?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655
--- Comment #5 from Paul Menzel ---
Created attachment 52498
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52498&action=edit
Preprocessed file `build/bootblock/cpu/x86/lapic/lapic.i` with `-save-temps`
Sorry for not sharing the file in t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655
--- Comment #3 from Paul Menzel ---
(In reply to Andrew Pinski from comment #2)
> I am 90% sure this is just another dup of bug 99578.
Are you sure, because the warnings/errors are not there with GCC 11.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655
Bug ID: 104655
Summary: [12 Regression] array subscript 0 is outside array
bounds of
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
--- Comment #21 from Paul Menzel ---
Created attachment 52193
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52193&action=edit
[SeaBIOS] [PATCH] smm: Suppress gcc array-bounds warnings
For the record, I attach Kevin’s patch used to work ar
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
--- Comment #20 from Paul Menzel ---
(In reply to Andrew Pinski from comment #19)
> *** Bug 103768 has been marked as a duplicate of this bug. ***
It’d be great, if you could advise how to address the warning in SeaBIOS.
In file included fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103768
Bug ID: 103768
Summary: array-bounds warning for `memcpy((void*)0x1234, p,
n)`, where n is greater than 8
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Seve
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100771
Paul Menzel changed:
What|Removed |Added
CC||pmenzel+gcc at molgen dot
mpg.de
--- Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100771
Bug ID: 100771
Summary: Types differ between i386-elf and x86_64-elf -m32
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compon