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