Mercurial > hg > CbC > CbC_gcc
diff libgfortran/generated/maxloc2_4_s1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/libgfortran/generated/maxloc2_4_s1.c Thu Oct 25 07:37:49 2018 +0900 +++ b/libgfortran/generated/maxloc2_4_s1.c Thu Feb 13 11:34:05 2020 +0900 @@ -1,5 +1,5 @@ /* Implementation of the MAXLOC intrinsic - Copyright (C) 2017-2018 Free Software Foundation, Inc. + Copyright (C) 2017-2020 Free Software Foundation, Inc. Contributed by Thomas Koenig This file is part of the GNU Fortran runtime library (libgfortran). @@ -28,12 +28,12 @@ #include <string.h> #include <assert.h> -#if defined (HAVE_GFC_INTEGER_1) && defined (HAVE_GFC_INTEGER_4) +#if defined (HAVE_GFC_UINTEGER_1) && defined (HAVE_GFC_INTEGER_4) static inline int -compare_fcn (const GFC_INTEGER_1 *a, const GFC_INTEGER_1 *b, gfc_charlen_type n) +compare_fcn (const GFC_UINTEGER_1 *a, const GFC_UINTEGER_1 *b, gfc_charlen_type n) { - if (sizeof (GFC_INTEGER_1) == 1) + if (sizeof (GFC_UINTEGER_1) == 1) return memcmp (a, b, n); else return memcmp_char4 (a, b, n); @@ -49,8 +49,8 @@ index_type ret; index_type sstride; index_type extent; - const GFC_INTEGER_1 *src; - const GFC_INTEGER_1 *maxval; + const GFC_UINTEGER_1 *src; + const GFC_UINTEGER_1 *maxval; index_type i; extent = GFC_DESCRIPTOR_EXTENT(array,0); @@ -88,8 +88,8 @@ index_type ret; index_type sstride; index_type extent; - const GFC_INTEGER_1 *src; - const GFC_INTEGER_1 *maxval; + const GFC_UINTEGER_1 *src; + const GFC_UINTEGER_1 *maxval; index_type i, j; GFC_LOGICAL_1 *mbase; int mask_kind;