summaryrefslogtreecommitdiff
path: root/libgfortran/generated/spread_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/spread_i4.c')
-rw-r--r--libgfortran/generated/spread_i4.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgfortran/generated/spread_i4.c b/libgfortran/generated/spread_i4.c
index c0890b666a1..bef7a37b6b0 100644
--- a/libgfortran/generated/spread_i4.c
+++ b/libgfortran/generated/spread_i4.c
@@ -48,7 +48,7 @@ spread_i4 (gfc_array_i4 *ret, const gfc_array_i4 *source,
index_type rrank;
index_type rs;
GFC_INTEGER_4 *rptr;
- GFC_INTEGER_4 *dest;
+ GFC_INTEGER_4 * restrict dest;
/* s.* indicates the source array. */
index_type sstride[GFC_MAX_DIMENSIONS];
index_type sstride0;
@@ -240,7 +240,7 @@ spread_scalar_i4 (gfc_array_i4 *ret, const GFC_INTEGER_4 *source,
{
int n;
int ncopies = pncopies;
- GFC_INTEGER_4 * dest;
+ GFC_INTEGER_4 * restrict dest;
index_type stride;
if (GFC_DESCRIPTOR_RANK (ret) != 1)
@@ -275,3 +275,4 @@ spread_scalar_i4 (gfc_array_i4 *ret, const GFC_INTEGER_4 *source,
}
#endif
+