HomeFreeBSD

libc/armv7: remove default version for alloca

Description

libc/armv7: remove default version for alloca

The alloca() interface has been a macro expanding to __builtin_alloca()
since 2003 (commit 79806b4cdce0, included in FreeBSD 5.2). Even before
that virtually every compiler version I was able to test replaced
alloca() with compiler generated code when targeting C.

Hide it to prevent future (mis)use.

Reviewed by: imp, kib
Differential Revision: https://reviews.freebsd.org/D51858

Details

Provenance
brooksAuthored on Mar 5 2026, 10:33 AM
Reviewer
imp
Differential Revision
D51858: libc/armv7: remove default verison of alloca
Parents
rGdb1ecd5854d4: getnetconfig: make nc_error a thread local variable
Branches
Unknown
Tags
Unknown