diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-03 03:34:03 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-03 03:34:03 +0000 |
commit | ef6c187e8a23acc5e1e17a1fc18304983ea4ea55 (patch) | |
tree | a7bb3902b985bd7b9ac739d038afd6ef0f0f25a9 /gcc/builtins.def | |
parent | 3c77fd48afa8e790060f265aabd3d1058ab8d38b (diff) | |
download | gcc-ef6c187e8a23acc5e1e17a1fc18304983ea4ea55.tar.gz |
* builtins.c (expand_builtin_strcmp): Use const*_rtx when
expanding strcmp at compile-time. Add another transformation.
(expand_builtin_strncmp): Add more transformations. Call
expand_builtin_memcmp, not expand_builtin_strcmp, under
appropriate conditions if HAVE_cmpstrsi.
testsuite:
gcc.c-torture/execute/string-opt-3.c: Add more strcmp checks.
gcc.c-torture/execute/string-opt-8.c: Add more strncmp checks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37963 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.def')
0 files changed, 0 insertions, 0 deletions