[Bug c++/92062] [9/10 Regression] ODR-use by static_assert ignored for static member of class template
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 11 19:11:00 GMT 2019
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.
More information about the Gcc-bugs
mailing list