stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-1036) [gcc 4.4] -Winline warning on std::ios_base::_C_usr_data::_C_alloc()
Date Tue, 26 May 2009 15:48:45 GMT
[gcc 4.4] -Winline warning on std::ios_base::_C_usr_data::_C_alloc()
--------------------------------------------------------------------

                 Key: STDCXX-1036
                 URL: https://issues.apache.org/jira/browse/STDCXX-1036
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Build and Installation
    Affects Versions: 4.2.1
         Environment: gcc 4.4.0
            Reporter: Martin Sebor
            Assignee: Martin Sebor
            Priority: Trivial
             Fix For: 4.2.2


Compiling {{iostore.cpp}} with gcc 4.4.0 (but not 4.3) yields the following warning:

{noformat}
gcc -c -I/home/sebor/tmp/stdcxx-4.2.x/include/ansi   -pthread -I/home/sebor/tmp/stdcxx-4.2.x/include
-I/build/sebor/tmp/stdcxx-4.2.x/gcc-4.4.0-12D/include  -pedantic -nostdinc++ -O2   -W -Wall
-Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  -fPIC  /home/sebor/tmp/stdcxx-4.2.x/src/iostore.cpp
/home/sebor/tmp/stdcxx-4.2.x/src/iosdata.h: In member function 'void*& std::ios_base::pword(int)':
/home/sebor/tmp/stdcxx-4.2.x/src/iosdata.h:73: warning: inlining failed in call to 'static
std::ios_base::_C_usr_data* std::ios_base::_C_usr_data::_C_alloc(void (std::ios_base::*)(std::ios_base::event,
bool))': call is unlikely and code size would grow
/home/sebor/tmp/stdcxx-4.2.x/src/iostore.cpp:403: warning: called from here
/home/sebor/tmp/stdcxx-4.2.x/src/iosdata.h: In member function 'void std::ios_base::register_callback(void
(*)(std::ios_base::event, std::ios_base&, int), int)':
/home/sebor/tmp/stdcxx-4.2.x/src/iosdata.h:73: warning: inlining failed in call to 'static
std::ios_base::_C_usr_data* std::ios_base::_C_usr_data::_C_alloc(void (std::ios_base::*)(std::ios_base::event,
bool))': call is unlikely and code size would grow
/home/sebor/tmp/stdcxx-4.2.x/src/iostore.cpp:436: warning: called from here
/home/sebor/tmp/stdcxx-4.2.x/src/iosdata.h: In member function 'long int& std::ios_base::iword(int)':
/home/sebor/tmp/stdcxx-4.2.x/src/iosdata.h:73: warning: inlining failed in call to 'static
std::ios_base::_C_usr_data* std::ios_base::_C_usr_data::_C_alloc(void (std::ios_base::*)(std::ios_base::event,
bool))': call is unlikely and code size would grow
/home/sebor/tmp/stdcxx-4.2.x/src/iostore.cpp:373: warning: called from here
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message