fix Issue 6799 - ICE(type.c) involving AAs and pointers to structs