Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 96029 invoked from network); 29 Aug 2007 01:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 01:37:51 -0000 Received: (qmail 41410 invoked by uid 500); 29 Aug 2007 01:37:47 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 41395 invoked by uid 500); 29 Aug 2007 01:37:47 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 41376 invoked by uid 99); 29 Aug 2007 01:37:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 18:37:47 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 01:37:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 92B7371418E for ; Tue, 28 Aug 2007 18:37:30 -0700 (PDT) Message-ID: <20181768.1188351450598.JavaMail.jira@brutus> Date: Tue, 28 Aug 2007 18:37:30 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Closed: (STDCXX-447) [gcc] warning: inlining failed on std::pow (std::complex, std::complex) In-Reply-To: <14028166.1181451986279.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor closed STDCXX-447. ------------------------------- Resolution: Fixed Nightly builds are free of the warnings. > [gcc] warning: inlining failed on std::pow (std::complex, std::complex) > ----------------------------------------------------------------------- > > Key: STDCXX-447 > URL: https://issues.apache.org/jira/browse/STDCXX-447 > 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 std::pow() overfload for complex might be too big to be successfully inlined... > gcc -c -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -pedantic -nostdinc++ -O2 -m32 -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align $(TOPDIR)/tests/numerics/26_complex.cpp > $(TOPDIR)/include/complex: In member function 'void RWQEComplexTest::testPow() [with T = double]': > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = double]': --param large-function-growth limit reached > $(TOPDIR)/include/complex:759: warning: called from here > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = double]': --param large-function-growth limit reached > $(TOPDIR)/include/complex:759: warning: called from here > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = double]': --param large-function-growth limit reached > $(TOPDIR)/include/complex:759: warning: called from here > $(TOPDIR)/include/complex: In member function 'void RWQEComplexTest::testPow() [with T = long double]': > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = long double]': --param large-function-growth limit reached > $(TOPDIR)/include/complex:759: warning: called from here > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = long double]': --param large-function-growth limit reached > $(TOPDIR)/include/complex:759: warning: called from here > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = long double]': --param large-function-growth limit reached > $(TOPDIR)/include/complex:759: warning: called from here > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = long double]': --param large-function-growth limit reached > $(TOPDIR)/include/complex:799: warning: called from here > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = long double]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:810: warning: called from here > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = long double]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:818: warning: called from here > $(TOPDIR)/include/iosfwd: In member function 'void RWQEComplexTest::testStreamOperator() [with T = long double]': > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = long double, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:508: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = long double, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:515: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = long double, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:522: warning: called from here > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd: In member function 'void RWQEComplexTest::testStreamOperator() [with T = float]': > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = float, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:508: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = float, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:515: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = float, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:522: warning: called from here > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd: In member function 'void RWQEComplexTest::testStreamOperator() [with T = double]': > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:508: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:515: warning: called from here > $(TOPDIR)/include/complex:892: warning: inlining failed in call to 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits]': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:522: warning: called from here > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:162: warning: inlining failed in call to 'virtual std::basic_ifstream >::~basic_ifstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/iosfwd:165: warning: inlining failed in call to 'virtual std::basic_ofstream >::~basic_ofstream()': --param large-function-growth limit reached > $(TOPDIR)/tests/numerics/26_complex.cpp:530: warning: called from here > $(TOPDIR)/include/complex: In member function 'void RWQEComplexTest::testPow() [with T = float]': > $(TOPDIR)/include/complex:814: warning: inlining failed in call to 'std::complex<_TypeT> std::pow(const std::complex<_TypeT>&, const std::complex<_TypeT>&) [with _TypeT = float]': --param large-function-growth limit reached > $(TOPDIR)/include/complex:759: warning: called from here > gcc 26_complex.o -o 26_complex -L$(BUILDDIR)/rwtest -lrwtest -m32 -L$(BUILDDIR)/lib -Wl,-R$(BUILDDIR)/lib:$(BUILDDIR)/rwtest -lstd -lsupc++ -lm > 26_complex.o: In function `RWQEComplexTest::testStreamOperator()': > 26_complex.cpp:(.text._ZN15RWQEComplexTestIeE18testStreamOperatorEv[RWQEComplexTest::testStreamOperator()]+0x27): warning: the use of `tmpnam' is dangerous, better use `mkstemp' -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.