Re: [C++ Patch] PR 56060

2013-10-06 Thread Paolo Carlini
Hi, Jason Merrill ha scritto: >For EXPR_PACK_EXPANSION we can just return true; a pack expansion is >always dependent, on the number of arguments if nothing else. Thanks. I suspected that ;) Then I'm going to test the corresponding very simple patch and commit it. Thanks again! Paolo

Re: [C++ Patch] PR 56060

2013-10-06 Thread Jason Merrill
For EXPR_PACK_EXPANSION we can just return true; a pack expansion is always dependent, on the number of arguments if nothing else. Jason

[C++ Patch] PR 56060

2013-10-05 Thread Paolo Carlini
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