https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95769
--- Comment #4 from Jakub Jelinek ---
And, in the compiler the C++ constant evaluation is something done only in the
C++ FE, while you are looking for IPA constant propagation and based on that
performing the C++ FE constant evaluation because th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95769
--- Comment #3 from Jakub Jelinek ---
(In reply to John Simon from comment #2)
> (In reply to Jakub Jelinek from comment #1)
> > If you want to ensure a function is evaluated at compile time, it needs to
> > be either C++20 consteval, or you need
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95769
--- Comment #2 from John Simon ---
(In reply to Jakub Jelinek from comment #1)
> If you want to ensure a function is evaluated at compile time, it needs to
> be either C++20 consteval, or you need to evaluate it in constant expression
> context,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95769
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1