GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
testsuite

Testsuite: Include stddef.h for size_t in pr94994

Fixes a testcase that used size_t without including stddef.h.

The testcase in gcc.dg/vect/pr94994.c refers to size_t without including stddef.h. This commit adds the necessary include to fix the testcase.

In Details

The commit fixes a testcase that uses size_t without including stddef.h. This is a straightforward fix to ensure the testcase compiles correctly.

For Context

In C and C++, size_t is a type commonly used to represent the size of objects. It's defined in the stddef.h header file. For code to use size_t, it needs to include this header file so that the compiler knows what size_t refers to.

Filed Under: testsuiteCC++