[Bug c/69759] __builtin_alloca undocumented

2016-02-11 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69759 --- Comment #3 from Andreas Schwab --- The manpage says, "On many systems alloca() cannot be used inside the list of arguments of a function call", so your function bar is not portable.

[Bug c/69759] __builtin_alloca undocumented

2016-02-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69759 --- Comment #2 from Martin Sebor --- So it is. Thanks for the correction. The trouble is that while saying this little may be sufficient for builtins that correspond to functions fully specified elsewhere (e.g., in the C standard) it's inadequa

[Bug c/69759] __builtin_alloca undocumented

2016-02-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69759 --- Comment #1 from Andrew Pinski --- It is documented, just not the way you think it is: See https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html: Outside strict ISO C mode (-ansi, -std=c90, -std=c99 or -std=c11), the functions _exit, +++alloc