]> git.ipfire.org Git - thirdparty/gcc.git/commit
c: Add <stdcountof.h> [PR117025]
authorAlejandro Colomar <alx@kernel.org>
Wed, 21 May 2025 23:15:40 +0000 (01:15 +0200)
committerJoseph Myers <josmyers@redhat.com>
Tue, 27 May 2025 20:20:40 +0000 (20:20 +0000)
commitd0779068c39b3774a53309805eab4a7ca970070c
tree7e62c842e5ac621b6f1e901cbaed70df65471b20
parent517c9487f8fdc4e4e90252a9365e5823259dc783
c: Add <stdcountof.h> [PR117025]

PR c/117025

gcc/ChangeLog:

* Makefile.in (USER_H): Add <stdcountof.h>.
* ginclude/stdcountof.h: New file.

gcc/testsuite/ChangeLog:

* gcc.dg/countof-stdcountof.c: New test.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
gcc/Makefile.in
gcc/ginclude/stdcountof.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/countof-stdcountof.c [new file with mode: 0644]