summaryrefslogtreecommitdiff
path: root/libgfortran/generated/dotprod_i16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/dotprod_i16.c')
-rw-r--r--libgfortran/generated/dotprod_i16.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libgfortran/generated/dotprod_i16.c b/libgfortran/generated/dotprod_i16.c
index 1c3e5825d0e..292f0786538 100644
--- a/libgfortran/generated/dotprod_i16.c
+++ b/libgfortran/generated/dotprod_i16.c
@@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
-extern GFC_INTEGER_16 dot_product_i16 (gfc_array_i16 * a, gfc_array_i16 * b);
+extern GFC_INTEGER_16 dot_product_i16 (gfc_array_i16 * const restrict a,
+ gfc_array_i16 * const restrict b);
export_proto(dot_product_i16);
/* Both parameters will already have been converted to the result type. */
GFC_INTEGER_16
-dot_product_i16 (gfc_array_i16 * a, gfc_array_i16 * b)
+dot_product_i16 (gfc_array_i16 * const restrict a, gfc_array_i16 * const restrict b)
{
- GFC_INTEGER_16 *pa;
- GFC_INTEGER_16 *pb;
+ const GFC_INTEGER_16 * restrict pa;
+ const GFC_INTEGER_16 * restrict pb;
GFC_INTEGER_16 res;
index_type count;
index_type astride;