public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10047: [3.3 regression] -fno-default-inline produces bogous  warnings
@ 2003-03-22 21:36 Janis Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Janis Johnson @ 2003-03-22 21:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10047; it has been noted by GNATS.

From: Janis Johnson <janis187@us.ibm.com>
To: gcc-gnats@gcc.gnu.org, rguenth@tat.physik.uni-tuebingen.de,
   gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   nathan@codesourcery.com
Cc:  
Subject: Re: c++/10047: [3.3 regression] -fno-default-inline produces bogous 
 warnings
Date: Sat, 22 Mar 2003 13:39:00 -0800

 The regression appeared with this patch to mainline and
 3.3-branch (cp directory):
 
 2002-12-26  Nathan Sidwell  <nathan@codesourcery.com>
 
         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.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10047
 
 
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/10047: [3.3 regression] -fno-default-inline produces bogous warnings
@ 2003-03-18 16:16 steven
  0 siblings, 0 replies; 3+ messages in thread
From: steven @ 2003-03-18 16:16 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rguenth

Synopsis: [3.3 regression] -fno-default-inline produces bogous warnings

State-Changed-From-To: open->analyzed
State-Changed-By: steven
State-Changed-When: Tue Mar 18 16:16:42 2003
State-Changed-Why:
    Discussed at length in the thread starting at:
    http://gcc.gnu.org/ml/gcc/2003-03/msg01174.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10047


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c++/10047: [3.3 regression] -fno-default-inline produces bogous warnings
@ 2003-03-12 20:06 rguenth
  0 siblings, 0 replies; 3+ messages in thread
From: rguenth @ 2003-03-12 20:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10047
>Category:       c++
>Synopsis:       [3.3 regression] -fno-default-inline produces bogous warnings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 12 20:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Richard Guenther
>Release:        g++-3.3 (GCC) 3.3 20030310 (prerelease)
>Organization:
>Environment:

>Description:
Compiling the following with -fno-default-inline

#include <vector>
std::vector<int> v;

leads to:

bellatrix:~/src/tests$ g++-3.3 -c warning.cpp -fno-default-inline
/home/rguenth/ix86/gcc3.3/include/c++/3.3/bits/stl_alloc.h:429: warning: inline function `static void std::__default_alloc_template<__threads, __inst>::deallocate(void*, unsigned int) [with bool __threads = true, int __inst = 0]' used but never defined

while omitting -fno-default-inline or using gcc 3.2 does not produce this bogous warning.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-22 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-22 21:36 c++/10047: [3.3 regression] -fno-default-inline produces bogous warnings Janis Johnson
  -- strict thread matches above, loose matches on Subject: below --
2003-03-18 16:16 steven
2003-03-12 20:06 rguenth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).