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]

c++/10047: [3.3 regression] -fno-default-inline produces bogous warnings


>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:


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