aboutsummaryrefslogtreecommitdiff
path: root/libgcc/soft-fp/floatbitinttd.c
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-05-22 01:15:43 +0200
committerJoseph Myers <josmyers@redhat.com>2025-05-27 20:20:42 +0000
commit9d9ac1670af224bb9fa2411fe392f98d20fbf751 (patch)
treeb5c8833e6609c1afc62c20e0b34643d7175cb721 /libgcc/soft-fp/floatbitinttd.c
parentd0779068c39b3774a53309805eab4a7ca970070c (diff)
downloadgcc-9d9ac1670af224bb9fa2411fe392f98d20fbf751.zip
gcc-9d9ac1670af224bb9fa2411fe392f98d20fbf751.tar.gz
gcc-9d9ac1670af224bb9fa2411fe392f98d20fbf751.tar.bz2
c: Add -Wpedantic diagnostic for _Countof [PR117025]
It has been standardized in C2y. PR c/117025 gcc/c/ChangeLog: * c-parser.cc (c_parser_sizeof_or_countof_expression): Add -Wpedantic diagnostic for _Countof in <= C23 mode. gcc/testsuite/ChangeLog: * gcc.dg/countof-compat.c: New test. * gcc.dg/countof-no-compat.c: New test. * gcc.dg/countof-pedantic.c: New test. * gcc.dg/countof-pedantic-errors.c: New test. Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'libgcc/soft-fp/floatbitinttd.c')
0 files changed, 0 insertions, 0 deletions