[Bug c++/21627] [3.4/4.0/4.1 Regression] invalid inline warning with ctor and dtor

janis at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 3 18:42:00 GMT 2005



------- Comment #7 from janis at gcc dot gnu dot org  2005-11-03 18:42 -------
A regression hunt identified the following patch:

  http://gcc.gnu.org/viewcvs?view=rev&rev=60521

r60521 | nathan | 2002-12-26 18:20:14 +0000 (Thu, 26 Dec 2002) | 13 lines

cp:
        PR c++/4803
        * decl2.c (mark_used): Defer inline functions.
        (finish_file): Merge deferred_fns loops. Check all used
        inline functions have a definition.
        * method.c (make_thunk): Thunks are not inline.
testsuite:
        * g++.dg/warn/inline1.C: New test.
        * g++.old-deja/g++.brendan/crash64.C: Remove spurious inlines.
        * g++.old-deja/g++.jason/synth10.C: Likewise.
        * g++.old-deja/g++.mike/net31.C: Likewise.
        * g++.old-deja/g++.mike/p8786.C: Likewise.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21627



More information about the Gcc-bugs mailing list