Committed: skip testsuite/23_containers/bitset/45713.cc for mmix-*-*.
Hans-Peter Nilsson
hp@bitrange.com
Sun Oct 21 09:27:00 GMT 2012
For mmix-knuth-mmixware, MAX_FIXED_MODE_SIZE is the default,
GET_MODE_BITSIZE (DImode), which of course isn't larger than the
size-type, the same size on this 64-bit target. I don't think making
it larger (i.e. TImode) would help: that seems instead likely to
introduce awkward spurious non-host_integerp ()-related code
differences between hosts with/without a 128-bit integer type.
The minor benefit would be to be able to handle objects larger than
1/8 of the (architecturall) address space. Besides, of course,
supporting test-cases like the one below. Committed.
* testsuite/23_containers/bitset/45713.cc: Skip for mmix-*-*.
Tweak sizetype-related comment.
Index: libstdc++-v3/testsuite/23_containers/bitset/45713.cc
===================================================================
--- libstdc++-v3/testsuite/23_containers/bitset/45713.cc (revision 192646)
+++ libstdc++-v3/testsuite/23_containers/bitset/45713.cc (working copy)
@@ -16,9 +16,9 @@
// <http://www.gnu.org/licenses/>.
// 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*-*-* } } } }
+// otherwise types/vars with (e.g. for 32-bit sizetype) 0x20000000
+// bytes or larger can't be used. See http://gcc.gnu.org/PR54897
+// { dg-do compile { target { ! { avr*-*-* cris*-*-* h8300*-*-* mcore*-*-* moxie*-*-* mmix-*-* } } } }
#include <bitset>
brgds, H-P
More information about the Gcc-patches
mailing list