[Bug c++/54897] [4.8 Regression]: 23_containers/bitset/45713.cc (test for excess errors)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 11 10:31:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54897
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-11 10:31:31 UTC ---
I'd go with
--- libstdc++-v3/testsuite/23_containers/bitset/45713.cc 2010-09-22
17:15:42.000000000 +0200
+++ libstdc++-v3/testsuite/23_containers/bitset/45713.cc 2012-10-11
12:28:49.865370623 +0200
@@ -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
@@ -15,7 +15,10 @@
// 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>
but don't have time to test it on those targets...
More information about the Gcc-bugs
mailing list