aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2023-09-28 13:06:13 +0200
committerTobias Burnus <tobias@codesourcery.com>2023-09-28 13:06:13 +0200
commit4f41d497c9eeec6f97a5c240e03c7e5e1a1ec05e (patch)
tree20f7b8de2765e53020d151a697b24e69226bd911 /gcc
parent73cd319b72ca45a537688cc8cc5751d86a00a0e9 (diff)
downloadgcc-4f41d497c9eeec6f97a5c240e03c7e5e1a1ec05e.zip
gcc-4f41d497c9eeec6f97a5c240e03c7e5e1a1ec05e.tar.gz
gcc-4f41d497c9eeec6f97a5c240e03c7e5e1a1ec05e.tar.bz2
libgfortran: Use __builtin_unreachable() not -Wno-stringop-overflow to silence warning
The only caller of write_z is formatted_transfer_scalar_write that passes kind to 'len'; in turn, write_z is the only caller of xtoa_big, passing on its 'len'. The kind is passed as is, except for GFC_REAL_17 for which len = 16 is used. libgfortran/ * io/write.c (xtoa_big): Change a 'GCC diagnostic ignored "-Wstringop-overflow"' to an assumption (via __builtin_unreachable).t
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions