Patchwork Committed: skip testsuite/23_containers/bitset/45713.cc for mmix-*-*.

login
register
mail settings
Submitter Hans-Peter Nilsson
Date Oct. 21, 2012, 4:55 a.m.
Message ID <alpine.BSF.2.00.1210210053070.11885@dair.pair.com>
Download mbox | patch
Permalink /patch/192983/
State New
Headers show

Comments

Hans-Peter Nilsson - Oct. 21, 2012, 4:55 a.m.
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.

brgds, H-P

Patch

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>