2.1.5.3 Integer options

C Function: void gcc_jit_context_set_int_option (gcc_jit_context *ctxt, enum gcc_jit_int_option opt, int value)

Set an integer option of the context.

C Type: enum gcc_jit_int_option

There is just one integer option specified this way:

C Macro: GCC_JIT_INT_OPTION_OPTIMIZATION_LEVEL

How much to optimize the code.

Valid values are 0-3, corresponding to GCC’s command-line options -O0 through -O3.

The default value is 0 (unoptimized).