This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/10047: [3.3 regression] -fno-default-inline produces bogous warnings
- From: rguenth at tat dot physik dot uni-tuebingen dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 12 Mar 2003 20:05:42 -0000
- Subject: c++/10047: [3.3 regression] -fno-default-inline produces bogous warnings
- Reply-to: rguenth at tat dot physik dot uni-tuebingen dot de
>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: