This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I found the problem. It is related to the fact, that the native va_list type for x86_64 is a structure. In earlier patches the type was generated twice by the helper function x86_build_builtin_va_list_abi. This lead to the problem, that there are two record types use, which brings the gimple to fail. Additionally the canonical_va_list_type method needs to handle va_list_type_node, too. Additionally it has to dereference pointers to va_list types.
if (INDIRECT_REF_P (type)) type = TREE_TYPE (type); else if (POINTER_TYPE_P (type) && POINTER_TYPE_P (TREE_TYPE(type))) type = TREE_TYPE (type);
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |