https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The front-end does:
      hi = instantiate_non_dependent_expr (hi, complain);
      hi = cxx_constant_value (hi, complain);
      int len = valid_constant_size_p (hi) ? tree_to_shwi (hi) : -1;

Reply via email to