https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86153
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-15 Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. The testcase says the absence of the warning depends on the inlining but it seems it doesn't (no extra diagnostic reported). So maybe just remove this dump-scanning.