On Wed, Feb 18, 2026 at 04:36:31PM -0500, Marek Polacek wrote:
> > @@ -8037,6 +8049,18 @@ convert_nontype_argument (tree type, tre
> >                "because it is of type %qT", expr, type, TREE_TYPE (expr));
> >       return NULL_TREE;
> >     }
> > +      if (TREE_CODE (expr) != REFLECT_EXPR && !val_dep_p)
> 
> !REFLECT_EXPR_P
> 
> > +   {
> > +     if (complain & tf_error)
> > +       {
> > +         expr = cxx_constant_value (expr);
> > +         if (expr == error_mark_node)
> > +           return NULL_TREE;
> > +         gcc_assert (TREE_CODE (expr) == REFLECT_EXPR);
> 
> REFLECT_EXPR

Thanks, changed both in my copy.

        Jakub

Reply via email to