Re: [c== pATCH] 71710 dependent FIELD_DECL

2017-01-23 Thread Jason Merrill
On Mon, Jan 23, 2017 at 12:09 PM, Nathan Sidwell wrote: > Jason, > Bug 71710 is a crash on 'decltype (a)', where 'a' is a FIELD_DECL wth > dependent type. finish_class_member_access_expr barfs on that. The earlier > sequence of if..elses has a check for FIELD_DECL, but that's in the shadow > of

[c== pATCH] 71710 dependent FIELD_DECL

2017-01-23 Thread Nathan Sidwell
Jason, Bug 71710 is a crash on 'decltype (a)', where 'a' is a FIELD_DECL wth dependent type. finish_class_member_access_expr barfs on that. The earlier sequence of if..elses has a check for FIELD_DECL, but that's in the shadow of a type_dependent_expression_p (object) check. The field's typ