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