diff options
| author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-16 02:36:48 +0000 |
|---|---|---|
| committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-16 02:36:48 +0000 |
| commit | 9c8a162907a8d55b6fbb528b42c34da1aa46e485 (patch) | |
| tree | aca9996b3b9dc6d84bc947bea56b72d53bfd3e27 /libjava/java/lang/ref/WeakReference.java | |
| parent | e04713c53e29617353cea64c7491049d99467c5f (diff) | |
| download | ppe42-gcc-9c8a162907a8d55b6fbb528b42c34da1aa46e485.tar.gz ppe42-gcc-9c8a162907a8d55b6fbb528b42c34da1aa46e485.zip | |
* builtins.c (fold_builtin_memcpy, fold_builtin_mempcpy,
fold_builtin_memmove, fold_builtin_strcpy, fold_builtin_strncpy,
fold_builtin_memcmp, fold_builtin_strcmp, fold_builtin_strncmp):
New functions.
(expand_builtin_memcpy): Use integer_zerop instead of testing
host_integerp and tree_low_cst directly. Move misapplied hunk
for optimization wher SRC and DEST point to the same location.
(expand_builtin_mempcpy): From here.
(expand_builtin_memmove): Use integer_zerop instead of testing
host_integerp and tree_low_cst_directly.
(expand_builtin_memset): Likewise.
(expand_builtin_memcmp): Likewise (and for integer_onep).
(expand_builtin_strncmp): Likewise.
(fold_builtin): Call the appropriate fold_builtin_foo functions
to optimize memcpy, mempcpy, memmove, strcpy, strncpy, memcmp,
strcmp and strncmp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang/ref/WeakReference.java')
0 files changed, 0 insertions, 0 deletions

