[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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?

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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.

[Bug tree-optimization/104655] New: [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-01-14 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-12-21 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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

[Bug c/103768] New: array-bounds warning for `memcpy((void*)0x1234, p, n)`, where n is greater than 8

2021-12-19 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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

[Bug target/100771] Types differ between i386-elf and x86_64-elf -m32

2021-05-28 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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

[Bug c/100771] New: Types differ between i386-elf and x86_64-elf -m32

2021-05-26 Thread pmenzel+gcc at molgen dot mpg.de via Gcc-bugs
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