From 64acfd9910111c7d754802a3b9c92ee82e441113 Mon Sep 17 00:00:00 2001 From: Janne Blomqvist <jb@gcc.gnu.org> Date: Sun, 27 Nov 2005 23:03:33 +0200 Subject: libgfortran ChangeLog: 2005-11-27 Janne Blomqvist <jb@gcc.gnu.org> * m4/*: Add const restrict to function arguments. * generated/*.c: Regenerate. From-SVN: r107573 --- libgfortran/generated/dotprod_i8.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libgfortran/generated/dotprod_i8.c') diff --git a/libgfortran/generated/dotprod_i8.c b/libgfortran/generated/dotprod_i8.c index 44af1f1..c03cbc3 100644 --- a/libgfortran/generated/dotprod_i8.c +++ b/libgfortran/generated/dotprod_i8.c @@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */ typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array; -extern GFC_INTEGER_8 dot_product_i8 (gfc_array_i8 * a, gfc_array_i8 * b); +extern GFC_INTEGER_8 dot_product_i8 (gfc_array_i8 * const restrict a, + gfc_array_i8 * const restrict b); export_proto(dot_product_i8); /* Both parameters will already have been converted to the result type. */ GFC_INTEGER_8 -dot_product_i8 (gfc_array_i8 * a, gfc_array_i8 * b) +dot_product_i8 (gfc_array_i8 * const restrict a, gfc_array_i8 * const restrict b) { - GFC_INTEGER_8 *pa; - GFC_INTEGER_8 *pb; + const GFC_INTEGER_8 * restrict pa; + const GFC_INTEGER_8 * restrict pb; GFC_INTEGER_8 res; index_type count; index_type astride; -- cgit v1.1