aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-cppbuiltin.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-08-27 00:02:44 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2005-08-27 00:02:44 +0200
commit435bb2a125f54edb565053b7c40afda765fe96bd (patch)
tree98ccbe9ec79be85a6d0adc7e6a8ae4dd1aafc086 /gcc/c-cppbuiltin.c
parentff8afde0ea2f2673e458e610e9680fa90bc3c2dc (diff)
downloadgcc-435bb2a125f54edb565053b7c40afda765fe96bd.zip
gcc-435bb2a125f54edb565053b7c40afda765fe96bd.tar.gz
gcc-435bb2a125f54edb565053b7c40afda765fe96bd.tar.bz2
re PR rtl-optimization/23561 (nonoverlapping_memrefs_p returns true even for overlapping memory references)
PR rtl-optimization/23561 * builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless at most LEN bytes long memory fits into the field. (expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr, expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp, expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers. * gcc.c-torture/execute/20050826-1.c: New test. From-SVN: r103541
Diffstat (limited to 'gcc/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions