summaryrefslogtreecommitdiff
path: root/libgfortran/m4/pack.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/m4/pack.m4')
-rw-r--r--libgfortran/m4/pack.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/m4/pack.m4 b/libgfortran/m4/pack.m4
index 4f31ffdd15e..9198b65b20e 100644
--- a/libgfortran/m4/pack.m4
+++ b/libgfortran/m4/pack.m4
@@ -83,7 +83,7 @@ pack_'rtype_code` ('rtype` *ret, const 'rtype` *array,
{
/* r.* indicates the return array. */
index_type rstride0;
- 'rtype_name` *rptr;
+ 'rtype_name` * restrict rptr;
/* s.* indicates the source array. */
index_type sstride[GFC_MAX_DIMENSIONS];
index_type sstride0;