https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102233
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Thanks for filing this. As we discussed on IRC, I recommend avoiding the combination of -fanalyzer and LTO for now. It works for simple examples, but has scaling issues on anything bigger, which I hope to eventually fix, but am focusing on other issues for GCC 12.