diff options
author | Andi Kleen <ak@gcc.gnu.org> | 2024-12-25 11:54:13 -0800 |
---|---|---|
committer | Andi Kleen <ak@gcc.gnu.org> | 2025-02-02 21:40:37 -0800 |
commit | ae814afad900edf1f19850985614398e0875618c (patch) | |
tree | 1158f600d62afc1acefb52d1601967fd541374b6 /gcc/tree-ssa-phiopt.cc | |
parent | 6fef3852c5e8506a9d97091b26ee6d0dbd830a67 (diff) | |
download | gcc-ae814afad900edf1f19850985614398e0875618c.zip gcc-ae814afad900edf1f19850985614398e0875618c.tar.gz gcc-ae814afad900edf1f19850985614398e0875618c.tar.bz2 |
Add tunables for input buffer
The input machinery to read the source code independent of the lexer
has a range of hard coded maximum array sizes that can impact performance.
Make them tunable.
input.cc is part of libcommon so it cannot direct access params
without a level of indirection.
gcc/ChangeLog:
PR preprocessor/118168
* input.cc (file_cache::tune): New function.
* input.h (class file_cache): Make tunables non const.
* params.opt: Add new tunables.
* toplev.cc (toplev::main): Initialize input buffer context
tunables.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions