[Bug c/93910] -Waddress-of-packed-member triggered without actual access to a member or the address of a member
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 24 17:20:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93910
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
You are still converting an unaligned pointer to an aligned pointer, and the
address of a struct is the same as the address if its first member (with
suitable conversion).
More information about the Gcc-bugs
mailing list