https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92062
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Looks like the issue is that the condition of the static_assert (&VIEW_CONVERT_EXPR<const bool>(x)) is no longer considered instantiation_dependent_expression_p, because of the location wrapper. Before r267272 the condition was "&x" and was considered instantiation_dependent_expression_p.