This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/9165: [3.3/3.4 regression] false "defined but not used" warnings


On Mon, Jan 06, 2003 at 02:43:44PM -0800, Janis Johnson wrote:
> The regression showed up with this patch:
> 
> 2002-10-11  Mark Mitchell  <mark@codesourcery.com>
> 
>         * NEWS
>         * class.c
>         * cp-tree.h
>         * decl.c
>         * decl2.c
>         * init.c
>         * parse.y
>         * rtti.c
>         * typeck2.c
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9165

Thanks, Janis.  Mark, could you have a look at this when you get a chance?
It seems that the error arises because, after inlining, nothing touches the
Cleanup object (since the body of the destructor calls a function that does
not take the Cleanup object as an argument).

Joe


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]