On Wed, Jun 6, 2018 at 5:18 PM, Marek Polacek <pola...@redhat.com> wrote: > We crash on this testcase containing a bogus attribute, because > cp_check_const_attributes accessed TREE_VALUE of a tree that happened to be > expr_pack_expansion. Since here we're merely trying to evaluate constexpr > arguments, I thought we could skip such bogus arguments.
Hmm, attributes should always be a TREE_LIST, lots of places assume that. Why isn't the pack expansion wrapped in a TREE_LIST? Jason