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