Hello Andi,

On Sat, Jan 25 2025, Andi Kleen wrote:
> From: Andi Kleen <a...@gcc.gnu.org>
>
> 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.

The new tunables are not described in the appropriate section in
gcc/doc/invoke.texi (which our periodic checker flags as a failure).
Can you please document them there?

Thanks,

Martin

Reply via email to