Thank you very much, Jonathan. That's very helpful!
This test program:
int main()
{
void *a = alloca(10);
return 0;
}
Compiles fine with:
gcc -o test test.c
But then fails with:
gcc -o test test.c -fno-builtin
That's on an Arch Linux system (based on glibc)
The issue is that what happens
On Wed, 10 Aug 2022, 23:12 Luca Bacci via Gcc, wrote:
>
> 1. Is inlining of built-ins dependant only on the target architecture and
> command-line arguments?
>
No, I think it can depend on the arguments to the built-in as well.
2. If the answer to 1 is yes, could a __is_builtin_inlined (func)
Hello dear GCC developers,
I am working on an issue in Meson wrt GCC built-in functions, see
https://github.com/mesonbuild/meson/issues/10641.
As you already know, some built-ins are always inlined, while others are
inlined only at times (e.g. depending on the target architecture) and
resolve to