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] |
Hi,in this old (Jakub figured out it already existed in 2007!) ICE on invalid, the problem happens in type_dependent_expression_p: the code for unknown_type_node as TREE_TYPE of the expression doesn't handle EXPR_PACK_EXPANSION as TREE_CODE.
It seems to me that we simply have to look inside the expression via PACK_EXPANSION_PATTERN: in the testcase, for "bar<U> ..." as expression the _PATTERN is a TEMPLATE_ID_EXPR which then is normally handled. Tested x86_64-linux.
Thanks, Paolo. ////////////////////
Attachment:
CL_56060
Description: Text document
Attachment:
patch_56060
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |