https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69521
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2016-01-28 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Kind-of confirmed. I understand this makes sense if both deprecated functions are "related" but you might be interested in a warning about using a deprecated function from an unrelated library even in your own deprecated function. Also kind-of confirmed for __attribute__((deprecated)) inline void qLess() {} inline void qLowerBound() { qLess(); } int main() { return 0; } thus for use in an unused inline function. As above you might be interested in this kind of warning nevertheless. A good solution might be to have two levels of this warning.