summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2002-09-01 21:18:18 +0000
committerkan <kan@FreeBSD.org>2002-09-01 21:18:18 +0000
commit303c7049a3e4542e6f05eb5c8c5f6e2f42d2126c (patch)
tree179ac5f428b511a9a9bf4aaee6ac76e2011cc984 /contrib/gcc
parent1f55c3310d3c5bd3e89427a08d4fb3412ec296a8 (diff)
downloadFreeBSD-src-303c7049a3e4542e6f05eb5c8c5f6e2f42d2126c.zip
FreeBSD-src-303c7049a3e4542e6f05eb5c8c5f6e2f42d2126c.tar.gz
Revert rev. 1.2. GCC 3.2 seems to have builtin_memset fixed.
Approved by: obrien
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/builtins.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/gcc/builtins.c b/contrib/gcc/builtins.c
index 22e66b6..9b32ddd 100644
--- a/contrib/gcc/builtins.c
+++ b/contrib/gcc/builtins.c
@@ -2196,11 +2196,6 @@ expand_builtin_memset (exp, target, mode)
len_rtx = expand_expr (len, NULL_RTX, VOIDmode, 0);
- /* Give up for non-constant lengths. They are broken on at least
- i386's. */
- if (GET_CODE (len_rtx) != CONST_INT)
- return 0;
-
dest_mem = get_memory_rtx (dest);
set_mem_align (dest_mem, dest_align);
dest_addr = clear_storage (dest_mem, len_rtx);
OpenPOWER on IntegriCloud