Message ID | alpine.LNX.2.00.1006251633510.1429@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
Index: gcc/config/i386/i386.c =================================================================== --- gcc/config/i386/i386.c (revision 161369) +++ gcc/config/i386/i386.c (working copy) @@ -30580,7 +30580,7 @@ ix86_canonical_va_list_type (tree type) tree wtype, htype; /* Resolve references and pointers to va_list type. */ - if (INDIRECT_REF_P (type)) + if (TREE_CODE (type) == MEM_REF) type = TREE_TYPE (type); else if (POINTER_TYPE_P (type) && POINTER_TYPE_P (TREE_TYPE(type))) type = TREE_TYPE (type);