This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/42374] New: 23_containers/map/operators/1_neg.cc fails test for errors on darwin10


The new 23_containers/map/operators/1_neg.cc test case fails...

FAIL: 23_containers/map/operators/1_neg.cc  (test for errors, line 212)
FAIL: 23_containers/map/operators/1_neg.cc  (test for errors, line 216)
FAIL: 23_containers/map/operators/1_neg.cc (test for excess errors)
FAIL: 23_containers/set/operators/1_neg.cc  (test for errors, line 287)
FAIL: 23_containers/set/operators/1_neg.cc  (test for errors, line 291)
FAIL: 23_containers/set/operators/1_neg.cc (test for excess errors)

on x86_64-apple-darwin10. These appear as...

Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/./gcc/g++
-shared-libgcc -B/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/src
-L/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/lib/ -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/include -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/sys-include -g -O2 -D_GLIBCXX_ASSERT
-fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -g -O2
-DLOCALEDIR="." -nostdinc++
-I/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/x86_64-apple-darwin10.2.0
-I/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/util
 -include bits/stdc++.h -c  -o config80787.o config80787.cc    (timeout = 600)
Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/./gcc/g++
-shared-libgcc -B/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstd...skipping...
Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/./gcc/g++
-shared-libgcc -B/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/src
-L/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/lib/ -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/include -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/sys-include -g -O2 -D_GLIBCXX_ASSERT
-fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -g -O2
-DLOCALEDIR="." -nostdinc++
-I/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/x86_64-apple-darwin10.2.0
-I/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/util
/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc
   -include bits/stdc++.h -S  -o 1_neg.s    (timeout = 600)
/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc:
In function 'void test01()':
/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc:40:32:
error: no match for 'operator!=' in 'itr != mapByName.std::map<_Key, _Tp,
_Compare, _Alloc>::end [with _Key = std::basic_string<char>, _Tp = unsigned
int, _Compare = std::less<std::basic_string<char> >, _Alloc =
std::allocator<std::pair<const std::basic_string<char>, unsigned int> >,
std::map<_Key, _Tp, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const std::basic_string<char>, unsigned int>
>]()'
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/bits/stl_tree.h:216:7:
note: candidate is: bool std::_Rb_tree_iterator<_Tp>::operator!=(const
std::_Rb_tree_iterator<_Tp>::_Self&) const [with _Tp = std::pair<const unsigned
int, int>, std::_Rb_tree_iterator<_Tp>::_Self =
std::_Rb_tree_iterator<std::pair<const unsigned int, int> >]
/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc:41:32:
error: no match for 'operator==' in 'itr == mapByName.std::map<_Key, _Tp,
_Compare, _Alloc>::end [with _Key = std::basic_string<char>, _Tp = unsigned
int, _Compare = std::less<std::basic_string<char> >, _Alloc =
std::allocator<std::pair<const std::basic_string<char>, unsigned int> >,
std::map<_Key, _Tp, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const std::basic_string<char>, unsigned int>
>]()'
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/bits/stl_tree.h:212:7:
note: candidate is: bool std::_Rb_tree_iterator<_Tp>::operator==(const
std::_Rb_tree_iterator<_Tp>::_Self&) const [with _Tp = std::pair<const unsigned
int, int>, std::_Rb_tree_iterator<_Tp>::_Self =
std::_Rb_tree_iterator<std::pair<const unsigned int, int> >]
compiler exited with status 1
output is:
/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc:
In function 'void test01()':
/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc:40:32:
error: no match for 'operator!=' in 'itr != mapByName.std::map<_Key, _Tp,
_Compare, _Alloc>::end [with _Key = std::basic_string<char>, _Tp = unsigned
int, _Compare = std::less<std::basic_string<char> >, _Alloc =
std::allocator<std::pair<const std::basic_string<char>, unsigned int> >,
std::map<_Key, _Tp, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const std::basic_string<char>, unsigned int>
>]()'
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/bits/stl_tree.h:216:7:
note: candidate is: bool std::_Rb_tree_iterator<_Tp>::operator!=(const
std::_Rb_tree_iterator<_Tp>::_Self&) const [with _Tp = std::pair<const unsigned
int, int>, std::_Rb_tree_iterator<_Tp>::_Self =
std::_Rb_tree_iterator<std::pair<const unsigned int, int> >]
/sw/src/fink.build/gcc45-4.4.999-20091214/gcc-4.5-20091214/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc:41:32:
error: no match for 'operator==' in 'itr == mapByName.std::map<_Key, _Tp,
_Compare, _Alloc>::end [with _Key = std::basic_string<char>, _Tp = unsigned
int, _Compare = std::less<std::basic_string<char> >, _Alloc =
std::allocator<std::pair<const std::basic_string<char>, unsigned int> >,
std::map<_Key, _Tp, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const std::basic_string<char>, unsigned int>
>]()'
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/bits/stl_tree.h:212:7:
note: candidate is: bool std::_Rb_tree_iterator<_Tp>::operator==(const
std::_Rb_tree_iterator<_Tp>::_Self&) const [with _Tp = std::pair<const unsigned
int, int>, std::_Rb_tree_iterator<_Tp>::_Self =
std::_Rb_tree_iterator<std::pair<const unsigned int, int> >]

PASS: 23_containers/map/operators/1_neg.cc  (test for errors, line 40)
PASS: 23_containers/map/operators/1_neg.cc  (test for errors, line 41)
FAIL: 23_containers/map/operators/1_neg.cc  (test for errors, line 212)
FAIL: 23_containers/map/operators/1_neg.cc  (test for errors, line 216)
FAIL: 23_containers/map/operators/1_neg.cc (test for excess errors)
Excess errors:
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/bits/stl_tree.h:216:7:
note: candidate is: bool std::_Rb_tree_iterator<_Tp>::operator!=(const
std::_Rb_tree_iterator<_Tp>::_Self&) const [with _Tp = std::pair<const unsigned
int, int>, std::_Rb_tree_iterator<_Tp>::_Self =
std::_Rb_tree_iterator<std::pair<const unsigned int, int> >]
/sw/src/fink.build/gcc45-4.4.999-20091214/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/bits/stl_tree.h:212:7:
note: candidate is: bool std::_Rb_tree_iterator<_Tp>::operator==(const
std::_Rb_tree_iterator<_Tp>::_Self&) const [with _Tp = std::pair<const unsigned
int, int>, std::_Rb_tree_iterator<_Tp>::_Self =
std::_Rb_tree_iterator<std::pair<const unsigned int, int> >]

extra_tool_flags are:
  -include bits/stdc++.h

Using built-in specs.
COLLECT_GCC=g++-4
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10.2.0/4.5.0/lto-wrapper
Target: x86_64-apple-darwin10.2.0
Configured with: ../gcc-4.5-20091214/configure --prefix=/sw
--prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib
Thread model: posix
gcc version 4.5.0 20091215 (experimental) (GCC)


-- 
           Summary: 23_containers/map/operators/1_neg.cc fails test for
                    errors on darwin10
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42374


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]