aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/GCC.ml
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-04-17 07:01:18 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-04-17 07:01:18 +0000
commit59646439baa1b9cc6209b684e4ccf9aac908fdbc (patch)
tree55f0b7c0f82f9b0e32ba754dc129938ac1242cc9 /cparser/GCC.ml
parent9e9853b79e652036c2e5c7af01d8ac9add0b8962 (diff)
downloadcompcert-kvx-59646439baa1b9cc6209b684e4ccf9aac908fdbc.tar.gz
compcert-kvx-59646439baa1b9cc6209b684e4ccf9aac908fdbc.zip
Support __builtin_memcpy; use it for struct assignment
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1319 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cparser/GCC.ml')
-rw-r--r--cparser/GCC.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/GCC.ml b/cparser/GCC.ml
index 9f864dcd..17b718b4 100644
--- a/cparser/GCC.ml
+++ b/cparser/GCC.ml
@@ -124,7 +124,7 @@ let builtins = {
"__builtin_inf", (doubleType, [], false);
"__builtin_inff", (floatType, [], false);
"__builtin_infl", (longDoubleType, [], false);
- "__builtin_memcpy", (voidPtrType, [ voidPtrType; voidConstPtrType; uintType ], false);
+ "__builtin_memcpy", (voidPtrType, [ voidPtrType; voidConstPtrType; sizeType ], false);
"__builtin_mempcpy", (voidPtrType, [ voidPtrType; voidConstPtrType; sizeType ], false);
"__builtin_fmod", (doubleType, [ doubleType ], false);