https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103751
--- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> --- char buf_p2[sizeof (struct A1) + 2 * sizeof (int16_t)]; This has space for 1 * int32_t and 3 * int16_t, so the warning is correct.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103751
--- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> --- char buf_p2[sizeof (struct A1) + 2 * sizeof (int16_t)]; This has space for 1 * int32_t and 3 * int16_t, so the warning is correct.