On Sun, 4 Dec 2022 at 00:04, Richard Henderson <richard.hender...@linaro.org> wrote: > > Separately control b_lto without --enable-cfi. > Also add --disable-lto for completeness.
Before this patch, CFI defaults to false and therefore LTO also defaults to false. After this patch, LTO defaults to true even if CFI is false. Intentional change ? Do we have figures for whether LTO produces an interesting performance improvement ? We should probably complain if the user tries '--enable-cfi --disable-lto' rather than silently doing something that presumably doesn't work. thanks -- PMM