libstdc++/5294: Failure of test 26_numerics/binary_closure.cc on cygwin

David.Billinghurst@riotinto.com David.Billinghurst@riotinto.com
Sun Jan 6 20:56:00 GMT 2002


>Number:         5294
>Category:       libstdc++
>Synopsis:       Failure of test 26_numerics/binary_closure.cc on cygwin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 06 20:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc 3.1
>Organization:
>Environment:
i686-pc-cygwin
>Description:
Test 26_numerics/binary_closure.cc fails on cygwin.

The problem seems to be:

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:506: `std::_BinClos<_Oper, std::_Constant, std::_ValArray, _Tp, _Tp>::_BinClos(const _Tp&, const std::valarray<_Tp>&) [with _Oper = std::multiplies, _Tp = double]' is private

Full output is attached.
>How-To-Repeat:
${srcdir}/configure
make
make check
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="binary_closure.txt"
Content-Disposition: inline; filename="binary_closure.txt"

Executing on host: /usr/local/obj/gcc/gcc/g++ -B/usr/local/obj/gcc/gcc/ -nostdinc++ -L/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/src -L/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/src/.libs -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -g -ffunction-sections -fdata-sections -fmessage-length=0 -DDEBUG_ASSERT -DLOCALEDIR="/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/po/share/locale" -nostdinc++ -I/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin -I/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include -I/usr/local/src/gcc/libstdc++-v3/libsupc++ -I/usr/local/src/gcc/libstdc++-v3/libio -I/usr/local/src/gcc/libstdc++-v3/include/backward -I/usr/local/src/gcc/libstdc++-v3/testsuite /usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc    -DDEBUG_ASSERT     -o ./binary_closure.exe    (timeout = 300)
spawn /usr/local/obj/gcc/gcc/g++ -B/usr/local/obj/gcc/gcc/ -nostdinc++ -L/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/src -L/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/src/.libs -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -g -ffunction-sections -fdata-sections -fmessage-length=0 -DDEBUG_ASSERT -DLOCALEDIR="/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/po/share/locale" -nostdinc++ -I/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin -I/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include -I/usr/local/src/gcc/libstdc++-v3/libsupc++ -I/usr/local/src/gcc/libstdc++-v3/libio -I/usr/local/src/gcc/libstdc++-v3/include/backward -I/usr/local/src/gcc/libstdc++-v3/testsuite /usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc -DDEBUG_ASSERT -o ./binary_closure.exe 

cc1plus.exe: warning: -ffunction-sections may affect debugging on some targets

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, _Tp, _Tp>, _Tp> std::operator*(const _Tp&, const std::valarray<_Tp>&) [with _Tp = double]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:20:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:506: `std::_BinClos<_Oper, std::_Constant, std::_ValArray, _Tp, _Tp>::_BinClos(const _Tp&, const std::valarray<_Tp>&) [with _Oper = std::multiplies, _Tp = double]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/valarray:689: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::plus, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::plus<typename _Dom1::value_type>::result_type> std::operator+(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&) [with _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:20:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:455: `std::_BinClos<_Oper, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>::_BinClos(const _Dom&, const std::valarray<typename _Dom::value_type>&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, _Tp, _Tp>, _Tp> std::operator*(const std::valarray<_Tp>&, const _Tp&) [with _Tp = double]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:23:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:496: `std::_BinClos<_Oper, std::_ValArray, std::_Constant, _Tp, _Tp>::_BinClos(const std::valarray<_Tp>&, const _Tp&) [with _Oper = std::multiplies, _Tp = double]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/valarray:689: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::plus, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::plus<typename _Dom1::value_type>::result_type> std::operator+(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&) [with _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:23:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:455: `std::_BinClos<_Oper, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>::_BinClos(const _Dom&, const std::valarray<typename _Dom::value_type>&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::plus, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::plus<typename _Dom1::value_type>::result_type> std::operator+(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) [with _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:26:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:466: `std::_BinClos<_Oper, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>::_BinClos(const std::valarray<typename _Dom::value_type>&, const _Dom&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::plus, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::plus<typename _Dom1::value_type>::result_type> std::operator+(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) [with _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:28:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:466: `std::_BinClos<_Oper, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>::_BinClos(const std::valarray<typename _Dom::value_type>&, const _Dom&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]' is private
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context

compiler exited with status 1
output is:
cc1plus.exe: warning: -ffunction-sections may affect debugging on some targets

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, _Tp, _Tp>, _Tp> std::operator*(const _Tp&, const std::valarray<_Tp>&) [with _Tp = double]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:20:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:506: `std::_BinClos<_Oper, std::_Constant, std::_ValArray, _Tp, _Tp>::_BinClos(const _Tp&, const std::valarray<_Tp>&) [with _Oper = std::multiplies, _Tp = double]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/valarray:689: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::plus, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::plus<typename _Dom1::value_type>::result_type> std::operator+(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&) [with _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:20:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:455: `std::_BinClos<_Oper, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>::_BinClos(const _Dom&, const std::valarray<typename _Dom::value_type>&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, _Tp, _Tp>, _Tp> std::operator*(const std::valarray<_Tp>&, const _Tp&) [with _Tp = double]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:23:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:496: `std::_BinClos<_Oper, std::_ValArray, std::_Constant, _Tp, _Tp>::_BinClos(const std::valarray<_Tp>&, const _Tp&) [with _Oper = std::multiplies, _Tp = double]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/valarray:689: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::plus, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::plus<typename _Dom1::value_type>::result_type> std::operator+(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&) [with _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:23:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:455: `std::_BinClos<_Oper, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>::_BinClos(const _Dom&, const std::valarray<typename _Dom::value_type>&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::plus, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::plus<typename _Dom1::value_type>::result_type> std::operator+(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) [with _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:26:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:466: `std::_BinClos<_Oper, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>::_BinClos(const std::valarray<typename _Dom::value_type>&, const _Dom&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h: In function `std::_Expr<std::_BinClos<std::plus, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::plus<typename _Dom1::value_type>::result_type> std::operator+(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) [with _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]':

/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:28:   instantiated from here

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:466: `std::_BinClos<_Oper, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>::_BinClos(const std::valarray<typename _Dom::value_type>&, const _Dom&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]' is private

/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context


FAIL: 26_numerics/binary_closure.cc (test for excess errors)
Excess errors:
/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:20:   instantiated from here
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:506: `std::_BinClos<_Oper, std::_Constant, std::_ValArray, _Tp, _Tp>::_BinClos(const _Tp&, const std::valarray<_Tp>&) [with _Oper = std::multiplies, _Tp = double]' is private
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/valarray:689: within this context
/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:20:   instantiated from here
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:455: `std::_BinClos<_Oper, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>::_BinClos(const _Dom&, const std::valarray<typename _Dom::value_type>&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]' is private
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context
/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:23:   instantiated from here
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:496: `std::_BinClos<_Oper, std::_ValArray, std::_Constant, _Tp, _Tp>::_BinClos(const std::valarray<_Tp>&, const _Tp&) [with _Oper = std::multiplies, _Tp = double]' is private
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/valarray:689: within this context
/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:23:   instantiated from here
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:455: `std::_BinClos<_Oper, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>::_BinClos(const _Dom&, const std::valarray<typename _Dom::value_type>&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]' is private
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context
/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:26:   instantiated from here
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:466: `std::_BinClos<_Oper, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>::_BinClos(const std::valarray<typename _Dom::value_type>&, const _Dom&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_ValArray, std::_Constant, double, double>]' is private
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context
/usr/local/src/gcc/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:28:   instantiated from here
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:466: `std::_BinClos<_Oper, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>::_BinClos(const std::valarray<typename _Dom::value_type>&, const _Dom&) [with _Oper = std::plus, _Dom = std::_BinClos<std::multiplies, std::_Constant, std::_ValArray, double, double>]' is private
/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/bits/valarray_meta.h:858: within this context

WARNING: 26_numerics/binary_closure.cc compilation failed to produce executable



More information about the Gcc-bugs mailing list