c++/10047: [3.3 regression] -fno-default-inline produces bogous warnings
rguenth@tat.physik.uni-tuebingen.de
rguenth@tat.physik.uni-tuebingen.de
Wed Mar 12 20:36:00 GMT 2003
>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:
More information about the Gcc-bugs
mailing list