https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103173

Georg Müller <georgmueller at gmx dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |georgmueller at gmx dot net

--- Comment #5 from Georg Müller <georgmueller at gmx dot net> ---
The problem in comment #3 is still valid vor gcc 13.1.1 (testes using
gcc-13.1.1-4.fc38.x86_64 on Fedora 38).

The warning disappears if I add a variable "int x" into the first place of
struct user_data.

The compiler seems to mix up the struct size and size of a member if they point
to the same memory address...

Reply via email to