From patchwork Sun Oct 21 04:55:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 192983 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 04B462C008D for ; Sun, 21 Oct 2012 15:56:15 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1351400176; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:cc:Subject:Message-ID:User-Agent:MIME-Version: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=2nV77aP WyIU7SSJ0l0FkyFr3O6g=; b=yn/dTGWlUqynKLfgx8vjK6Yposxy9tIq4i5WD9+ vx+n4xgCa271Ms9T+20cHFLxB8j4qJTxY+Rby7jIKvIyMIJ+qOk94vYggNaze7QT 50MK8Teg0b9du+yluWPSKCA0yiPG71PFTfM/bGUSkovL3Oj6kBxdudQHm+lKM0X0 oPFI= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Date:From:To:cc:Subject:Message-ID:User-Agent:MIME-Version:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=H7y83kbYABF1vec3a3sQ9GF9WdntJ/C0iJbyfX5YI0x9AkVsvlCO8AayRgkm+D g6C1t6e8bEjHzNJNWWmFHO0vOuY3273/HdM+a+vMvkYFxnRyCwOUkdHPs96B3HE8 /H57x2oBqdLJ4cxx/lLUCuWROvyNMBPGVzTZ/gM188g7M=; Received: (qmail 26297 invoked by alias); 21 Oct 2012 04:56:03 -0000 Received: (qmail 26279 invoked by uid 22791); 21 Oct 2012 04:56:01 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from dair.pair.com (HELO dair.pair.com) (209.68.1.49) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sun, 21 Oct 2012 04:55:58 +0000 Received: (qmail 17413 invoked by uid 20157); 21 Oct 2012 04:55:57 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 21 Oct 2012 04:55:57 -0000 Date: Sun, 21 Oct 2012 00:55:57 -0400 (EDT) From: Hans-Peter Nilsson To: gcc-patches@gcc.gnu.org cc: libstdc++@gcc.gnu.org Subject: Committed: skip testsuite/23_containers/bitset/45713.cc for mmix-*-*. Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 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 @@ // . // 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