diff options
author | 2021-01-11 12:23:00 -0300 | |
---|---|---|
committer | 2021-02-09 16:57:56 -0300 | |
commit | f3e5c7262e77ca84bcef60fe20a3dc70eae12d5e (patch) | |
tree | 4f6b9857e0f34665d4b3a3b8536165a26f296327 /sysdeps/unix/sysv/linux/nios2/kernel_stat.h | |
parent | regex: remove alloca usage on regex set_regs (diff) | |
download | glibc-f3e5c7262e77ca84bcef60fe20a3dc70eae12d5e.tar.xz glibc-f3e5c7262e77ca84bcef60fe20a3dc70eae12d5e.zip |
regexec: remove alloca usage in build_trtable
It syncs with gnulib version 1731fef3d. On build_trtable prevent
inlining, so that it doesn't bloat the caller's stack and use auto
variables instead of alloca/malloc.
After these changes, build_trtable's total stack allocation is
only 20 KiB on a 64-bit machine, and this is less than glibc's 64
KiB cutoff so there's little point to using alloca to shrink it.
Checked on x86_64-linux-gnu.
Diffstat (limited to 'sysdeps/unix/sysv/linux/nios2/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions