summaryrefslogtreecommitdiff
path: root/libgfortran/generated/dotprod_r4.c
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-27 21:03:33 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-27 21:03:33 +0000
commitb4cafd6717ebdc99a68ca9d2de7090e6053a713c (patch)
treeb1791f0354ad0366d696ec9df523d82d3bd9fe26 /libgfortran/generated/dotprod_r4.c
parentb92d95502eb80ce009645b3efad36efe7fea81c5 (diff)
downloadgcc-b4cafd6717ebdc99a68ca9d2de7090e6053a713c.tar.gz
libgfortran ChangeLog:
2005-11-27 Janne Blomqvist <jb@gcc.gnu.org> * m4/*: Add const restrict to function arguments. * generated/*.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107573 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/generated/dotprod_r4.c')
-rw-r--r--libgfortran/generated/dotprod_r4.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libgfortran/generated/dotprod_r4.c b/libgfortran/generated/dotprod_r4.c
index bae99ab3f36..7fdc57fa0a5 100644
--- a/libgfortran/generated/dotprod_r4.c
+++ b/libgfortran/generated/dotprod_r4.c
@@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
-extern GFC_REAL_4 dot_product_r4 (gfc_array_r4 * a, gfc_array_r4 * b);
+extern GFC_REAL_4 dot_product_r4 (gfc_array_r4 * const restrict a,
+ gfc_array_r4 * const restrict b);
export_proto(dot_product_r4);
/* Both parameters will already have been converted to the result type. */
GFC_REAL_4
-dot_product_r4 (gfc_array_r4 * a, gfc_array_r4 * b)
+dot_product_r4 (gfc_array_r4 * const restrict a, gfc_array_r4 * const restrict b)
{
- GFC_REAL_4 *pa;
- GFC_REAL_4 *pb;
+ const GFC_REAL_4 * restrict pa;
+ const GFC_REAL_4 * restrict pb;
GFC_REAL_4 res;
index_type count;
index_type astride;