re PR c++/10929 (-Winline warns about functions for which no definition is visible)
PR c++/10929
* tree-inline.c (expand_call_inline): Don't warn about failing to
inline a function which was made inline by -finline-functions.
* cp/decl.c (grokfndecl): Don't mark a function inline for
-finline-functions if it isn't defined.
From-SVN: r68122
Showing
gcc/testsuite/g++.dg/warn/Winline-2.C
0 → 100644
Please
register
or
sign in
to comment