https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125609
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Xi Ruoyao <[email protected]>: https://gcc.gnu.org/g:20c529f47542e94e921556684f8ce27495135926 commit r17-1439-g20c529f47542e94e921556684f8ce27495135926 Author: Xi Ruoyao <[email protected]> Date: Fri Jun 5 16:29:20 2026 +0800 hard-reg-set: make temporary SET for EXECUTE_IF_SET_IN_HARD_REG_SET a build-time error So we don't make the same error again. gcc/ PR rtl-optimization/125609 PR middle-end/122992 * hard-reg-set.h (build_error_on_rvalue): New function. (EXECUTE_IF_SET_IN_HARD_REG_SET): Call the function above.
