re PR testsuite/54897 (23_containers/bitset/45713.cc (test for excess errors))
authorHans-Peter Nilsson <hp@axis.com>
Thu, 11 Oct 2012 11:36:39 +0000 (11:36 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 11 Oct 2012 11:36:39 +0000 (11:36 +0000)
PR testsuite/54897
* testsuite/23_containers/bitset/45713.cc: Skip for avr*-*-*
cris*-*-* h8300*-*-* mcore*-*-* moxie*-*-*.

From-SVN: r192354

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/bitset/45713.cc

index eac7f95..f8d25b1 100644 (file)
@@ -1,3 +1,9 @@
+2012-10-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR testsuite/54897
+       * testsuite/23_containers/bitset/45713.cc: Skip for avr*-*-*
+       cris*-*-* h8300*-*-* mcore*-*-* moxie*-*-*.
+
 2012-10-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        PR libstdc++/54872
index 8d369d6..2e8f452 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010 Free Software Foundation, Inc.
+// Copyright (C) 2010, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do compile }
+// The testcase requires bitsizetype to be wider than sizetype,
+// otherwise types/vars with 0x20000000 bytes or larger can't be used.
+// See http://gcc.gnu.org/PR54897
+// { dg-do compile { target { ! { avr*-*-* cris*-*-* h8300*-*-* mcore*-*-* moxie*-*-* } } } }
 
 #include <bitset>