From patchwork Thu Nov 22 16:54:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [testsuite] ad PR52641: Fix some more tests that fail for small targets From: Georg-Johann Lay X-Patchwork-Id: 201088 Message-Id: <50AE58D5.9070907@gjlay.de> To: gcc-patches@gcc.gnu.org Cc: Jan Hubicka , Vladimir Makarov , Richard Henderson Date: Thu, 22 Nov 2012 17:54:45 +0100 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. 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;