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

ensadc at mailnesia dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensadc at mailnesia dot com

--- Comment #1 from ensadc at mailnesia dot com ---
It seems that the inliner does not like the `static` specifier in
`__constant_string_p`. This also triggers "inlining failed in call to
always_inline" error:

static __attribute__((always_inline)) constexpr bool
f()
{
    return __builtin_is_constant_evaluated();
}

int main() {
    (void)f();
}

Reply via email to