libstdc++/5145: [cygwin] Failure of test 23_containers/map_operators.cc

David.Billinghurst@riotinto.com David.Billinghurst@riotinto.com
Tue Dec 18 00:11:00 GMT 2001


>Number:         5145
>Category:       libstdc++
>Synopsis:       [cygwin] Failure of test 23_containers/map_operators.cc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 17 20:36:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc 3.1 2001-12-17
>Organization:
>Environment:
i686-pc-cygwin
>Description:
Test 23_containers/map_operators.cc fails with attached error message about no 
   match for `std::_Rb_tree_iterator<std::pair<const unsigned int, int>, 
   std::pair<const unsigned int, int>&, std::pair<const unsigned int, int>*>& 
   != std::_Rb_tree_iterator<std::pair<const std::string, unsigned int>, 
   std::pair<const std::string, unsigned int>&, std::pair<const std::string, 
   unsigned int>*>' operator



>How-To-Repeat:
${srcdir}/configure --host=i686-pc-cygwin --enable-threads=posix --disable-libgcj --enable-sjlj-exceptions --with-system-zlib --disable-nls --disable-shared
make
make check
>Fix:

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

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 -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/23_containers/map_operators.cc -DDEBUG_ASSERT -S -o map_operators.s 
cc1plus.exe: warning: -ffunction-sections may affect debugging on some targets
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/map_operators.cc: In 
   function `void test01()':
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/map_operators.cc:43: no 
   match for `std::_Rb_tree_iterator<std::pair<const unsigned int, int>, 
   std::pair<const unsigned int, int>&, std::pair<const unsigned int, int>*>& 
   != std::_Rb_tree_iterator<std::pair<const std::string, unsigned int>, 
   std::pair<const std::string, unsigned int>&, std::pair<const std::string, 
   unsigned int>*>' operator
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/map_operators.cc:44: no 
   match for `std::_Rb_tree_iterator<std::pair<const unsigned int, int>, 
   std::pair<const unsigned int, int>&, std::pair<const unsigned int, int>*>& 
   == std::_Rb_tree_iterator<std::pair<const std::string, unsigned int>, 
   std::pair<const std::string, unsigned int>&, std::pair<const std::string, 
   unsigned int>*>' operator
compiler exited with status 1
output is:
cc1plus.exe: warning: -ffunction-sections may affect debugging on some targets
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/map_operators.cc: In 
   function `void test01()':
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/map_operators.cc:43: no 
   match for `std::_Rb_tree_iterator<std::pair<const unsigned int, int>, 
   std::pair<const unsigned int, int>&, std::pair<const unsigned int, int>*>& 
   != std::_Rb_tree_iterator<std::pair<const std::string, unsigned int>, 
   std::pair<const std::string, unsigned int>&, std::pair<const std::string, 
   unsigned int>*>' operator
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/map_operators.cc:44: no 
   match for `std::_Rb_tree_iterator<std::pair<const unsigned int, int>, 
   std::pair<const unsigned int, int>&, std::pair<const unsigned int, int>*>& 
   == std::_Rb_tree_iterator<std::pair<const std::string, unsigned int>, 
   std::pair<const std::string, unsigned int>&, std::pair<const std::string, 
   unsigned int>*>' operator

FAIL: 23_containers/map_operators.cc  (test for errors, line 43)
FAIL: 23_containers/map_operators.cc  (test for errors, line 44)
XPASS: 23_containers/map_operators.cc (test for excess errors)



More information about the Gcc-bugs mailing list