https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124770
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Probably the fix is just to check !consteval_only_p (decl).
mpolacek at gcc dot gnu.org via Gcc-bugs Thu, 16 Apr 2026 14:52:01 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124770
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Probably the fix is just to check !consteval_only_p (decl).