[Bug libstdc++/20071] New: [4.0 regression] newlib target testsuite regressions: libstdc++: tr1/6_containers/tuple

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Feb 19 16:47:00 GMT 2005


Between LAST_UPDATED: "Fri Feb 18 00:18:46 UTC 2005" and
"Fri Feb 18 15:14:59 UTC 2005" these regressions were
introduced on trunk for cris-axis-elf:

FAIL: tr1/6_containers/tuple/comparison_operators/comparisons.cc (test for
excess errors)
WARNING: tr1/6_containers/tuple/comparison_operators/comparisons.cc compilation
failed to produce executable
FAIL: tr1/6_containers/tuple/cons/assignment.cc (test for excess errors)
WARNING: tr1/6_containers/tuple/cons/assignment.cc compilation failed to produce
executable
FAIL: tr1/6_containers/tuple/cons/big_tuples.cc (test for excess errors)
WARNING: tr1/6_containers/tuple/cons/big_tuples.cc compilation failed to produce
executable
FAIL: tr1/6_containers/tuple/cons/constructor.cc (test for excess errors)
WARNING: tr1/6_containers/tuple/cons/constructor.cc compilation failed to
produce executable
FAIL: tr1/6_containers/tuple/creation_functions/make_tuple.cc (test for excess
errors)
WARNING: tr1/6_containers/tuple/creation_functions/make_tuple.cc compilation
failed to produce executable
FAIL: tr1/6_containers/tuple/creation_functions/tie.cc (test for excess errors)
WARNING: tr1/6_containers/tuple/creation_functions/tie.cc compilation failed to
produce executable
FAIL: tr1/6_containers/tuple/element_access/get.cc (test for excess errors)
WARNING: tr1/6_containers/tuple/element_access/get.cc compilation failed to
produce executable
FAIL: tr1/6_containers/tuple/tuple_element.cc (test for excess errors)
WARNING: tr1/6_containers/tuple/tuple_element.cc compilation failed to produce
executable
FAIL: tr1/6_containers/tuple/tuple_size.cc (test for excess errors)
WARNING: tr1/6_containers/tuple/tuple_size.cc compilation failed to produce
executable

with the message in libstdc++.log being all similar for all the regressing
tests:

/home/hp/cvs_areas/combined/cris-regobj/cris-unknown-elf/libstdc++-v3/include/tr1/functional:139:
error: 'wstring' is not a membe\
r of 'std'^M
/home/hp/cvs_areas/combined/cris-regobj/cris-unknown-elf/libstdc++-v3/include/tr1/functional:139:
error: 'wstring' is not a membe\
r of 'std'^M
/home/hp/cvs_areas/combined/cris-regobj/cris-unknown-elf/libstdc++-v3/include/tr1/functional:139:
error: template argument 1 is i\
nvalid^M
/home/hp/cvs_areas/combined/cris-regobj/cris-unknown-elf/libstdc++-v3/include/tr1/functional:139:
error: explicit specialization \
of non-template '<type error>'^M

The author of the only matching change is CC:ed.

It seems like the use of std::wstring in include/tr1/functional
isn't properly #ifdef:ed or something.
Elsewhere in libstdc++ I see use of #ifdef _GLIBCXX_USE_WCHAR_T
wrapped around wstring grep matches.
(This seems like an obvious fix.)  The cris-axis-elf is a newlib target.
I see the same failures on mmix-knuth-mmixware, another newlib target.

-- 
           Summary: [4.0 regression] newlib target testsuite regressions:
                    libstdc++: tr1/6_containers/tuple
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
                CC: austern at apple dot com,gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: cris-axis-elf, mmix-knuth-mmixware


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



More information about the Gcc-bugs mailing list