On Fri, Jan 25, 2019 at 06:36:53AM +0000, Bernd Edlinger wrote:
> 2019-01-25  Bernd Edlinger  <bernd.edlin...@hotmail.de>
> 
>       * c-warn.c (check_address_or_pointer_of_packed_member): Handle the case
>       when rhs is of array type correctly.  Fix handling of nested structures.
>       Fix handling of indirect_ref together with nop_expr and/or addr_expr.
>       (check_and_warn_address_or_pointer_of_packed_member): Fix handling of
>       type casts within nested compound expressions.
> 
> testsuite:
> 2019-01-25  Bernd Edlinger  <bernd.edlin...@hotmail.de>
> 
>       * c-c++-common/Waddress-of-packed-member-1.c: Extended test case.
>       * c-c++-common/Waddress-of-packed-member-2.c: New test case.

Ok, thanks.

        Jakub

Reply via email to