You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/06/10 06:52:25 UTC
[jira] Created: (STDCXX-446) [gcc] warning: inlining failed on
operator<<(ostream&, complex)
[gcc] warning: inlining failed on operator<<(ostream&, complex)
---------------------------------------------------------------
Key: STDCXX-446
URL: https://issues.apache.org/jira/browse/STDCXX-446
Project: C++ Standard Library
Issue Type: Bug
Components: 26. Numerics
Affects Versions: 4.1.3
Environment: gcc 4.1.1
Reporter: Martin Sebor
Assignee: Martin Sebor
Priority: Minor
Fix For: 4.2
The warnings below suggest that the complex insertion operrator is too big for inlining...
gcc -c -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -pedantic -nostdinc++ -O2 -m32 -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align $(TOPDIR)/examples/manual/complex.cpp
$(TOPDIR)/include/complex: In function 'int main()':
$(TOPDIR)/include/complex:935: warning: inlining failed in call to 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits<char>]': --param max-inline-insns-single limit reached
$(TOPDIR)/examples/manual/complex.cpp:41: warning: called from here
$(TOPDIR)/include/complex:935: warning: inlining failed in call to 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits<char>]': --param max-inline-insns-single limit reached
$(TOPDIR)/examples/manual/complex.cpp:41: warning: called from here
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (STDCXX-446) [gcc] warning: inlining failed on
operator<<(ostream&, complex)
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-446.
-------------------------------
Resolution: Fixed
Nightly builds are free of the warning.
> [gcc] warning: inlining failed on operator<<(ostream&, complex)
> ---------------------------------------------------------------
>
> Key: STDCXX-446
> URL: https://issues.apache.org/jira/browse/STDCXX-446
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 26. Numerics
> Affects Versions: 4.1.3
> Environment: gcc 4.1.1
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Minor
> Fix For: 4.2
>
>
> The warnings below suggest that the complex insertion operrator is too big for inlining...
> gcc -c -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -pedantic -nostdinc++ -O2 -m32 -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align $(TOPDIR)/examples/manual/complex.cpp
> $(TOPDIR)/include/complex: In function 'int main()':
> $(TOPDIR)/include/complex:935: warning: inlining failed in call to 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits<char>]': --param max-inline-insns-single limit reached
> $(TOPDIR)/examples/manual/complex.cpp:41: warning: called from here
> $(TOPDIR)/include/complex:935: warning: inlining failed in call to 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits<char>]': --param max-inline-insns-single limit reached
> $(TOPDIR)/examples/manual/complex.cpp:41: warning: called from here
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.