From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6075 invoked by alias); 13 Jun 2011 18:57:01 -0000 Received: (qmail 6061 invoked by uid 22791); 13 Jun 2011 18:57:00 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Jun 2011 18:56:44 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DIugbq027272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 14:56:43 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (tyan-ft48-01.lab.bos.redhat.com [10.16.42.4]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p5DIuf3B015765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Jun 2011 14:56:42 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (localhost.localdomain [127.0.0.1]) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4) with ESMTP id p5DIueOb032655; Mon, 13 Jun 2011 20:56:40 +0200 Received: (from jakub@localhost) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4/Submit) id p5DIue7U032064; Mon, 13 Jun 2011 20:56:40 +0200 Date: Mon, 13 Jun 2011 19:09:00 -0000 From: Jakub Jelinek To: Georg-Johann Lay Cc: gcc-patches@gcc.gnu.org, Mike Stump , Kaz Kojima Subject: Re: [testsuite]: Skip tests for targets with int < 32 bits Message-ID: <20110613185640.GX17079@tyan-ft48-01.lab.bos.redhat.com> Reply-To: Jakub Jelinek References: <4DF0F48C.2050308@gjlay.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DF0F48C.2050308@gjlay.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg00992.txt.bz2 On Thu, Jun 09, 2011 at 06:27:56PM +0200, Georg-Johann Lay wrote: > This patch fixes testsuite failures because the testcases assume > sizeof(int) >= 4. > > * gcc.c-torture/compile/pr49029.c: Add dg-require-effective-target > int32plus > * gcc.c-torture/compile/pr49163.c: Ditto. > Index: gcc.c-torture/compile/pr49029.c > =================================================================== > --- gcc.c-torture/compile/pr49029.c (Revision 174701) > +++ gcc.c-torture/compile/pr49029.c (Arbeitskopie) > @@ -1,3 +1,4 @@ > +/* { dg-require-effective-target int32plus } */ > /* PR middle-end/49029 */ > struct S { volatile unsigned f : 11; signed g : 30; } __attribute__((packed)); > struct T { volatile struct S h; } __attribute__((packed)) a; Please keep the PR number comment as the first thing in the files. > Index: gcc.c-torture/compile/pr49163.c > =================================================================== > --- gcc.c-torture/compile/pr49163.c (Revision 174701) > +++ gcc.c-torture/compile/pr49163.c (Arbeitskopie) > @@ -1,3 +1,4 @@ > +/* { dg-require-effective-target int32plus } */ > /* PR target/49163 */ > struct S1 > { Jakub