Re: [C++/68724] ICE with TRAIT_EXPR

2016-08-05 Thread Nathan Sidwell
On 08/05/16 12:06, Jason Merrill wrote: On Fri, Aug 5, 2016 at 8:24 AM, Nathan Sidwell wrote: I've committed this patch to fix a failed assertion. unify's (pt.c) default case asserts EXPR_P(parm), but TRAIT_EXPR is tcc_exceptional, so fails. However from unify's POV it's no more exceptional th

Re: [C++/68724] ICE with TRAIT_EXPR

2016-08-05 Thread Jason Merrill
On Fri, Aug 5, 2016 at 8:24 AM, Nathan Sidwell wrote: > I've committed this patch to fix a failed assertion. unify's (pt.c) default > case asserts EXPR_P(parm), but TRAIT_EXPR is tcc_exceptional, so fails. > However from unify's POV it's no more exceptional than, say, SIZEOF_EXPR, so > should be

[C++/68724] ICE with TRAIT_EXPR

2016-08-05 Thread Nathan Sidwell
I've committed this patch to fix a failed assertion. unify's (pt.c) default case asserts EXPR_P(parm), but TRAIT_EXPR is tcc_exceptional, so fails. However from unify's POV it's no more exceptional than, say, SIZEOF_EXPR, so should be allowed at that point. nathan 2016-08-05 Nathan Sidwell