[ https://issues.apache.org/jira/browse/STDCXX-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713071#action_12713071 ]
Martin Sebor commented on STDCXX-1036: -------------------------------------- Similar warnings in {{iso2022.cpp}}: {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/iso2022.cpp /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp: In function 'size_t __rw::__rw_iso2022jp2_do_length(__mbstate_t&, const char*, const char*, size_t)': /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:2141: warning: called from here /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp: In function 'std::codecvt_base::result __rw::__rw_iso2022_to_ucs4(__mbstate_t&, __rw::__rw_iso2022_state_t*, const char*&, const char*, wchar_t*&, wchar_t*, int)': /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:1626: warning: called from here /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:1646: warning: called from here /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:1663: warning: called from here /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:1679: warning: called from here /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:1691: warning: called from here /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp: In function 'std::codecvt_base::result __rw::__rw_iso2022jp2_do_out(__mbstate_t&, const wchar_t*&, const wchar_t*, char*&, char*)': /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:2002: warning: called from here /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:2048: warning: called from here /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:438: warning: inlining failed in call to 'void __rw::__rw_deallocate_state(__rw::__rw_iso2022_state_t&, __mbstate_t&, bool)': call is unlikely and code size would grow /home/sebor/tmp/stdcxx-4.2.x/src/iso2022.cpp:2065: warning: called from here {noformat} > [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.