unconditonally define alloca as __builtin_alloca
authorMichael Forney <mforney@mforney.org>
Tue, 19 Nov 2019 09:56:34 +0000 (01:56 -0800)
committerRich Felker <dalias@aerifal.cx>
Wed, 1 Jan 2020 20:07:11 +0000 (15:07 -0500)
commita56ec7e8e27c4e8bb7aa7d612bf382b4bafb132f
treeaa35d4c2971fa5fa5d74991bdca46c2d12546a29
parentd3f7df235904439d48db041c7796e5b44be5b8e6
unconditonally define alloca as __builtin_alloca

This enables alternative compilers, which may not define __GNUC__,
to implement alloca, which is still fairly widely used.

This is similar to how stdarg.h already works in musl; compilers must
implement __builtin_va_arg, there is no fallback definition.
include/alloca.h