aboutsummaryrefslogtreecommitdiff
path: root/gcc/asan.c
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2021-03-20 10:50:03 -0400
committerVladimir N. Makarov <vmakarov@redhat.com>2021-03-20 10:52:10 -0400
commit8bf983c71e42d5a9f9df8a7dc436b30cd9da42f5 (patch)
treec3dde12b6a05c46a655d9f65255277edf0049b78 /gcc/asan.c
parent5f256a70a05fcfc5a1caf56678ceb12b4f87f781 (diff)
downloadgcc-8bf983c71e42d5a9f9df8a7dc436b30cd9da42f5.zip
gcc-8bf983c71e42d5a9f9df8a7dc436b30cd9da42f5.tar.gz
gcc-8bf983c71e42d5a9f9df8a7dc436b30cd9da42f5.tar.bz2
[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.
Diffstat (limited to 'gcc/asan.c')
0 files changed, 0 insertions, 0 deletions