Patchwork [testsuite] ad PR52641: Fix some more tests that fail for small targets

login
register
mail settings
Submitter Georg-Johann Lay
Date Nov. 22, 2012, 4:54 p.m.
Message ID <50AE58D5.9070907@gjlay.de>
Download mbox | patch
Permalink /patch/201088/
State New
Headers show

Comments

Georg-Johann Lay - Nov. 22, 2012, 4:54 p.m.
Some more skips for tests that will fail with 16-bit int etc.

Ok for trunk?

Johann

	PR testsuite/52641
	* gcc.dg/unroll_5.c: Add dg-require-effective-target int32plus.
	* gcc.dg/pr55150-1.c: Same.
	* gcc.dg/torture/pr54894.c: Add size32plus.
Mike Stump - Nov. 23, 2012, 9:25 a.m.
On Nov 22, 2012, at 8:54 AM, Georg-Johann Lay <avr@gjlay.de> wrote:
> Some more skips for tests that will fail with 16-bit int etc.
> 
> Ok for trunk?

Ok.

Patch

Index: gcc.dg/unroll_5.c
===================================================================
--- gcc.dg/unroll_5.c	(revision 193721)
+++ gcc.dg/unroll_5.c	(working copy)
@@ -1,5 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O3 -fdump-rtl-loop2_unroll -funroll-loops" } */
+/* { dg-require-effective-target int32plus } */
+
 void abort (void);
 int *a;
 int t()
Index: gcc.dg/pr55150-1.c
===================================================================
--- gcc.dg/pr55150-1.c	(revision 193721)
+++ gcc.dg/pr55150-1.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* PR middle-end/55150 */
 /* { dg-do compile } */
 /* { dg-options "-Os -g" } */
+/* { dg-require-effective-target int32plus } */
 
 typedef unsigned int KEY_TABLE_TYPE[(272 / 4)];
   typedef unsigned int u32;
Index: gcc.dg/torture/pr54894.c
===================================================================
--- gcc.dg/torture/pr54894.c	(revision 193721)
+++ gcc.dg/torture/pr54894.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target size32plus } */
 
 typedef unsigned long long uint64_t;