https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124414
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't think so.
More reduced testcase is e.g.
constexpr auto a = ^^int;
const void *b = &a;
We don't diagnose this in check_out_of_consteval_use because b is not
consteval_only_p .
