https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
--- Comment #14 from Jan Hubicka <hubicka at ucw dot cz> --- > Could we just add 'inline' to the functions that are 'constexpr' in later > standards? It would make sense to me - that would reduce differences between codegens with different -std= options. Also we may use Jakub's attribute in case we are worried about them being inlined too often, but it already happens with -std=c++20 and later.