[Bug c++/99287] std::source_location::function_name breaks constexpr

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 5 15:57:35 GMT 2021


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Or perhaps another option would be instead of
return mod;
do
return cxx_eval_constant_expression (ctx, mod, false, non_constant_p,
overflow_p);
?


More information about the Gcc-bugs mailing list