On 4/4/19 7:20 PM, Marek Polacek wrote:
We ICE here because rhstype is null. Since we're looking to see if it's a pointer type, we can just return NULL_TREE if it's null.Bootstrapped/regtested on x86_64-linux, ok for trunk? 2019-04-04 Marek Polacek <pola...@redhat.com> PR c++/89973 - -Waddress-of-packed-member ICE with invalid conversion. * c-warn.c (check_address_or_pointer_of_packed_member): Check the type of RHS.
OK. Jason