https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102233
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |12.0 --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Doing analyzer at LTRANS stage (in all_late_ipa_passes, where IPA PTA runs) might help. Note it will see regular IPA passes transforms applied then but at least the whole program will be divided into LTRANS chunks (so analyzer will not see all function bodies). Dividing the analyzer work between IPA local analysis, WPA analysis and "final local analysis" would be best of course, if that's even possible.