https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- We have (unsigned int) (long int) *(const long int &) &b and cxx_constant_value -> maybe_constant_init_1 doesn't evaluate it now: 5154 if (!is_nondependent_static_init_expression (t)) 5155 /* Don't try to evaluate it. */; and that CONVERT_EXPR isn't is_nondependent_static_init_expression.