https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99680
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vladimir Makarov <vmaka...@gcc.gnu.org>: https://gcc.gnu.org/g:8bf983c71e42d5a9f9df8a7dc436b30cd9da42f5 commit r11-7748-g8bf983c71e42d5a9f9df8a7dc436b30cd9da42f5 Author: Vladimir N. Makarov <vmaka...@redhat.com> Date: Sat Mar 20 10:50:03 2021 -0400 [PR99680] Check empty constraint before using CONSTRAINT_LEN. It seems CONSTRAINT_LEN treats constraint '\0' as one having length 1. Therefore we read after the constraint string. The patch fixes it. gcc/ChangeLog: PR rtl-optimization/99680 * lra-constraints.c (skip_contraint_modifiers): Rename to skip_constraint_modifiers. (process_address_1): Check empty constraint before using CONSTRAINT_LEN.