* Committed: skip testsuite/23_containers/bitset/45713.cc for mmix-*-*.
@ 2012-10-21 9:27 Hans-Peter Nilsson
0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson @ 2012-10-21 9:27 UTC (permalink / raw)
To: gcc-patches; +Cc: libstdc++
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-21 4:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-21 9:27 Committed: skip testsuite/23_containers/bitset/45713.cc for mmix-*-* Hans-Peter Nilsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).