https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2018-04-24 00:00:00 |2021-8-30
Component|tree-optimization |ipa
CC| |marxin at gcc dot gnu.org
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
CCP2 is after IPA promoting the variable 'const', but CCP2 is too late for
inlining (and IPA opts don't do value-numbering to discover the indirect
inline target).