aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/dotprod_c10.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2005-11-27 23:03:33 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2005-11-27 23:03:33 +0200
commit64acfd9910111c7d754802a3b9c92ee82e441113 (patch)
treeb1791f0354ad0366d696ec9df523d82d3bd9fe26 /libgfortran/generated/dotprod_c10.c
parent949446f55711f5fa957caa6a8a1df7bd6b185471 (diff)
downloadgcc-64acfd9910111c7d754802a3b9c92ee82e441113.zip
gcc-64acfd9910111c7d754802a3b9c92ee82e441113.tar.gz
gcc-64acfd9910111c7d754802a3b9c92ee82e441113.tar.bz2
libgfortran ChangeLog:
2005-11-27 Janne Blomqvist <jb@gcc.gnu.org> * m4/*: Add const restrict to function arguments. * generated/*.c: Regenerate. From-SVN: r107573
Diffstat (limited to 'libgfortran/generated/dotprod_c10.c')
-rw-r--r--libgfortran/generated/dotprod_c10.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libgfortran/generated/dotprod_c10.c b/libgfortran/generated/dotprod_c10.c
index 3fa5955..0dccca7 100644
--- a/libgfortran/generated/dotprod_c10.c
+++ b/libgfortran/generated/dotprod_c10.c
@@ -38,15 +38,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
-extern GFC_COMPLEX_10 dot_product_c10 (gfc_array_c10 * a, gfc_array_c10 * b);
+extern GFC_COMPLEX_10 dot_product_c10 (gfc_array_c10 * const restrict a,
+ gfc_array_c10 * const restrict b);
export_proto(dot_product_c10);
/* Both parameters will already have been converted to the result type. */
GFC_COMPLEX_10
-dot_product_c10 (gfc_array_c10 * a, gfc_array_c10 * b)
+dot_product_c10 (gfc_array_c10 * const restrict a, gfc_array_c10 * const restrict b)
{
- GFC_COMPLEX_10 *pa;
- GFC_COMPLEX_10 *pb;
+ const GFC_COMPLEX_10 * restrict pa;
+ const GFC_COMPLEX_10 * restrict pb;
GFC_COMPLEX_10 res;
GFC_COMPLEX_10 conjga;
index_type count;