diff options
Diffstat (limited to 'libgfortran/m4/matmul.m4')
-rw-r--r-- | libgfortran/m4/matmul.m4 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libgfortran/m4/matmul.m4 b/libgfortran/m4/matmul.m4 index bb42f2a6c47..6a7ce5c49ef 100644 --- a/libgfortran/m4/matmul.m4 +++ b/libgfortran/m4/matmul.m4 @@ -1,8 +1,8 @@ `/* Implementation of the MATMUL intrinsic - Copyright 2002, 2005, 2006, 2007, 2009 Free Software Foundation, Inc. + Copyright 2002, 2005, 2006, 2007, 2009, 2012 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org> -This file is part of the GNU Fortran 95 runtime library (libgfortran). +This file is part of the GNU Fortran runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU General Public @@ -102,7 +102,7 @@ matmul_'rtype_code` ('rtype` * const restrict retarray, dimensioned [count, 1], so ycount=1. */ - if (retarray->data == NULL) + if (retarray->base_addr == NULL) { if (GFC_DESCRIPTOR_RANK (a) == 1) { @@ -124,7 +124,7 @@ matmul_'rtype_code` ('rtype` * const restrict retarray, GFC_DESCRIPTOR_EXTENT(retarray,0)); } - retarray->data + retarray->base_addr = internal_malloc_size (sizeof ('rtype_name`) * size0 ((array_t *) retarray)); retarray->offset = 0; } @@ -228,9 +228,9 @@ sinclude(`matmul_asm_'rtype_code`.m4')dnl ycount = GFC_DESCRIPTOR_EXTENT(b,1); } - abase = a->data; - bbase = b->data; - dest = retarray->data; + abase = a->base_addr; + bbase = b->base_addr; + dest = retarray->base_addr; /* Now that everything is set up, we''`re performing the multiplication |