https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81159 --- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- The warning is taking place in the front end, long before inlining/cprop has run.