public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite]: Skip tests for targets with int < 32 bits
@ 2011-06-09 17:21 Georg-Johann Lay
  2011-06-13 13:09 ` Ping: " Georg-Johann Lay
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Georg-Johann Lay @ 2011-06-09 17:21 UTC (permalink / raw)
  To: gcc-patches; +Cc: Mike Stump, Kaz Kojima, Jakub Jelinek

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

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.

[-- Attachment #2: int32plus.diff --]
[-- Type: text/x-patch, Size: 760 bytes --]

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;
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
 {

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-14 15:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-09 17:21 [testsuite]: Skip tests for targets with int < 32 bits 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 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).