diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-17 19:31:06 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-17 19:31:06 +0000 |
commit | 8e882a1674e70cdea3bf8630a7613fe2bf12e52d (patch) | |
tree | 3580b7403687d7d146efbcceecee9d57deff3d8f /libgfortran/generated/minloc0_8_r10.c | |
parent | fade5ce98b583fa416ba84b4cc3cad12af227f57 (diff) | |
parent | 634a5ad7fc8a4498978609c4e523b29658affa22 (diff) | |
download | gcc-8e882a1674e70cdea3bf8630a7613fe2bf12e52d.tar.gz |
2014-06-17 Tobias Burnus <burnus@net-b.de>
* Merge from the trunk to r211744.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/fortran-dev@211745 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/generated/minloc0_8_r10.c')
-rw-r--r-- | libgfortran/generated/minloc0_8_r10.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/generated/minloc0_8_r10.c b/libgfortran/generated/minloc0_8_r10.c index 9f576509e01..e2bf5273b7a 100644 --- a/libgfortran/generated/minloc0_8_r10.c +++ b/libgfortran/generated/minloc0_8_r10.c @@ -59,7 +59,7 @@ minloc0_8_r10 (gfc_array_i8 * const restrict retarray, retarray->elem_len = retarray->elem_len; retarray->type = retarray->type; retarray->offset = 0; - retarray->base_addr = xmalloc (sizeof (GFC_INTEGER_8) * rank); + retarray->base_addr = xmallocarray (rank, sizeof (GFC_INTEGER_8)); } else { @@ -201,7 +201,7 @@ mminloc0_8_r10 (gfc_array_i8 * const restrict retarray, retarray->elem_len = retarray->elem_len; retarray->type = retarray->type; retarray->offset = 0; - retarray->base_addr = xmalloc (sizeof (GFC_INTEGER_8) * rank); + retarray->base_addr = xmallocarray (rank, sizeof (GFC_INTEGER_8)); } else { @@ -368,7 +368,7 @@ sminloc0_8_r10 (gfc_array_i8 * const restrict retarray, { GFC_DIMENSION_SET (retarray->dim[0], 0, rank, sizeof (GFC_INTEGER_8)); retarray->offset = 0; - retarray->base_addr = xmalloc (sizeof (GFC_INTEGER_8) * rank); + retarray->base_addr = xmallocarray (rank, sizeof (GFC_INTEGER_8)); } else if (unlikely (compile_options.bounds_check)) { |