[Bug rtl-optimization/123223] [16 Regression][gcn] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1946 (since r16-6263-gaf1f68b4e365ca)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 19 18:24:16 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123223
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmakarov@gcc.gnu.org>:
https://gcc.gnu.org/g:0ab14cf1b4c0c129e6bc7b208686b9caa942a597
commit r16-6286-g0ab14cf1b4c0c129e6bc7b208686b9caa942a597
Author: Vladimir N. Makarov <vmakarov@redhat.com>
Date: Fri Dec 19 13:22:49 2025 -0500
[PR123223, LRA]: Fix ICE of GCC built with checking rtl
The latest PR55212 patch improving dealing with scratch pseudos does not
check reload rtx on reg when recognizing scratch pseudos. This
results in failure of GCC built with checking rtl.
gcc/ChangeLog:
PR rtl-optimization/123223
* lra-constraints.cc (match_reload, curr_insn_transform): Check
rtx on REG when testing scratch pseudos.
More information about the Gcc-bugs
mailing list