https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62282
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Except it is not vague in general, the idea is that there is another definition somewhere of test and not just in this translation unit. Since we are at -O0, we decide not to inline it and it does not get emitted.