Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
4.2.1
-
None
-
gcc 4.4.0
-
Compiler Warning
Description
Compiling iostore.cpp with gcc 4.4.0 (but not 4.3) yields the following warning:
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