GCC Newspaper
OCTOBER 6, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
gccrs

Correct typo in FN_VARIADIC flag name within gccrs

gccrs fixes a typo in the FN_VARIADIC flag name, ensuring correct type checking for variadic functions.

A minor typo in the FN_VARIADIC_FLAG name within gccrs has been corrected. The flag, used for identifying variadic functions, was renamed from FN_VARADIC_FLAG to FN_VARIADIC_FLAG in typecheck/rust-tyty.h and updated in typecheck/rust-hir-type-check-implitem.cc. This ensures proper handling of function types.

In Details

The FN_VARIADIC_FLAG is a crucial bitmask used in gccrs' type system to denote whether a function is variadic. This commit corrects a spelling mistake in the flag's definition, resolving potential issues in type checking, particularly in TypeCheckTopLevelExternItem::visit where it's used to determine function characteristics.

For Context
variadic function
A function that can accept a variable number of arguments. In C-like languages, these are often indicated by an ellipsis (...) in the function signature.
Filed Under: rustcompilerbugfix