https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org>: https://gcc.gnu.org/g:187eeb99ec5289538923668de9d61a3138376817 commit r15-1695-g187eeb99ec5289538923668de9d61a3138376817 Author: Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org> Date: Thu Jun 27 15:46:24 2024 +0200 s390: Check for ADDR_REGS in s390_decompose_addrstyle_without_index An explicit check for address registers was not required so far since during register allocation the processing of address constraints was sufficient. However, address constraints themself do not check for REGNO_OK_FOR_{BASE,INDEX}_P. Thus, with the newly introduced late-combine pass in r15-1579-g792f97b44ffc5e we generate new insns with invalid address registers which aren't fixed up afterwards. Fixed by explicitly checking for address registers in s390_decompose_addrstyle_without_index such that those new insns are rejected. gcc/ChangeLog: PR target/115634 * config/s390/s390.cc (s390_decompose_addrstyle_without_index): Check for ADDR_REGS in s390_decompose_addrstyle_without_index.