diff options
author | Martin Liska <mliska@suse.cz> | 2022-01-03 11:14:32 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-01-03 11:14:32 +0100 |
commit | cb2d70e85a7e72082ce75c2a380e13b1404de605 (patch) | |
tree | 3e9cf69e9e7d7d0607f55ca5385c6acbcb667fbd /libgfortran/runtime/string.c | |
parent | 3710ef43346d9c666fa8175812806d20ebd4e380 (diff) | |
parent | cd83fd98a7e769ac7ded28377984f68238812a26 (diff) | |
download | gcc-cb2d70e85a7e72082ce75c2a380e13b1404de605.zip gcc-cb2d70e85a7e72082ce75c2a380e13b1404de605.tar.gz gcc-cb2d70e85a7e72082ce75c2a380e13b1404de605.tar.bz2 |
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'libgfortran/runtime/string.c')
-rw-r--r-- | libgfortran/runtime/string.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/runtime/string.c b/libgfortran/runtime/string.c index 21585f4..88bda76 100644 --- a/libgfortran/runtime/string.c +++ b/libgfortran/runtime/string.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2021 Free Software Foundation, Inc. +/* Copyright (C) 2002-2022 Free Software Foundation, Inc. Contributed by Paul Brook This file is part of the GNU Fortran runtime library (libgfortran). @@ -242,8 +242,8 @@ gfc_itoa (GFC_UINTEGER_LARGEST n, char *buffer, size_t len) integers (we would need three calls), but they do suffice for all values up to 2^127, which is the largest that Fortran can produce (-HUGE(0_16)-1) with its signed integer types. */ - static_assert(sizeof(GFC_UINTEGER_LARGEST) <= 2 * sizeof(uint64_t), - "integer too large"); + _Static_assert (sizeof(GFC_UINTEGER_LARGEST) <= 2 * sizeof(uint64_t), + "integer too large"); GFC_UINTEGER_LARGEST r; r = n % TEN19; |