summaryrefslogtreecommitdiff
path: root/rts/RtsMessages.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RtsMessages.c')
-rw-r--r--rts/RtsMessages.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/rts/RtsMessages.c b/rts/RtsMessages.c
index 2a92c8d228..507d007484 100644
--- a/rts/RtsMessages.c
+++ b/rts/RtsMessages.c
@@ -338,3 +338,12 @@ rtsOutOfBoundsAccess()
{
barf("Encountered out of bounds array access.");
}
+
+// Used by code generator
+void rtsMemcpyRangeOverlap(void) STG_NORETURN;
+
+void
+rtsMemcpyRangeOverlap()
+{
+ barf("Encountered overlapping source/destination ranges in a memcpy-using op.");
+}