re PR c++/10929 (-Winline warns about functions for which no definition is visible)
authorJason Merrill <jason@redhat.com>
Tue, 17 Jun 2003 23:00:16 +0000 (19:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 17 Jun 2003 23:00:16 +0000 (19:00 -0400)
commit9da32fe151688a1790f3de95a6fd396d22a626dd
treeca8ddf6fa96e986b0118487b5e953bd63dcb87d8
parentcb713a8d52e60134d85df14670a07feac505c86c
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
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/warn/Winline-2.C [new file with mode: 0644]
gcc/tree-inline.c