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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.3
            Summary|Incorrect                   |[12/13 Regression]
                   |-Wstringop-overflow with    |Incorrect
                   |partial memcpy() into a     |-Wstringop-overflow with
                   |nested structure            |partial memcpy() into a
                   |                            |nested structure

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Zebediah Figura from comment #3)
> From the warning, it seems like it thinks I wrote
> 
> memcpy(&ps->wp.hwnd, &wp, sizeof(wp));
> 
> but that's not what I wrote.

Oh I read the code wrong sorry about that.

Reply via email to