public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Georg-Johann Lay <avr@gjlay.de>
Cc: gcc-patches@gcc.gnu.org, Mike Stump <mikestump@comcast.net>,
	       Kaz Kojima <kkojima@gcc.gnu.org>
Subject: Re: [testsuite]: Skip tests for targets with int < 32 bits
Date: Mon, 13 Jun 2011 19:09:00 -0000	[thread overview]
Message-ID: <20110613185640.GX17079@tyan-ft48-01.lab.bos.redhat.com> (raw)
In-Reply-To: <4DF0F48C.2050308@gjlay.de>

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

      parent reply	other threads:[~2011-06-13 18:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 17:21 Georg-Johann Lay
2011-06-13 13:09 ` Ping: " Georg-Johann Lay
2011-06-14 10:10   ` Richard Guenther
2011-06-13 18:04 ` Mike Stump
2011-06-13 18:40   ` Georg-Johann Lay
2011-06-13 18:53     ` Jakub Jelinek
2011-06-14  9:38       ` Georg-Johann Lay
2011-06-14 15:57         ` Mike Stump
2011-06-13 19:07     ` Mike Stump
2011-06-13 19:09 ` Jakub Jelinek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110613185640.GX17079@tyan-ft48-01.lab.bos.redhat.com \
    --to=jakub@redhat.com \
    --cc=avr@gjlay.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=kkojima@gcc.gnu.org \
    --cc=mikestump@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).