summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index dee61522db3..298ad35a02e 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -870,3 +870,14 @@ init_rtl ()
word_mode = mode;
}
}
+
+#ifdef memset
+gcc_memset (dest, value, len)
+ char *dest;
+ int value;
+ int len;
+{
+ while (len-- > 0)
+ *dest++ = value;
+}
+#endif /* memset */