https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125184
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:d6fc88f22812cc74ddb36871e01f3d56ef383334 commit r17-380-gd6fc88f22812cc74ddb36871e01f3d56ef383334 Author: Jakub Jelinek <[email protected]> Date: Thu May 7 15:53:52 2026 +0200 c++: Don't check for consteval-only uses inside of USING_STMT [PR125184] I think a USING_STMT operand shouldn't count as consteval-only use. 2026-05-07 Jakub Jelinek <[email protected]> PR c++/125184 * reflect.cc (check_out_of_consteval_use_r): Don't walk children of USING_STMTs. * g++.dg/reflect/using3.C: New test. Reviewed-by: Jason Merrill <[email protected]>
