This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, TESTSUITE]Skip compile tests for small targets
- From: Andrew Hutchinson <andrewhutchinson at cox dot net>
- To: gcc-patches at gcc dot gnu dot org, janis187 at us dot ibm dot com
- Date: Tue, 03 Nov 2009 18:38:09 -0500
- Subject: [PATCH, TESTSUITE]Skip compile tests for small targets
The following patch skips one test for non 32bit int targets and another
for AVR as the memory for arrays is too large.
Ok?
2009-11-03 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
*gcc.c-torture/compile/pr40204.c: Test only for int32 target.
*gcc.c-torture/compile/pr41181.c: Skip test for avr target.
Index: pr40204.c
===================================================================
--- pr40204.c (revision 153880)
+++ pr40204.c (working copy)
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target int32plus } */
/* PR middle-end/40204 */
struct S
Index: pr41181.c
===================================================================
--- pr41181.c (revision 153880)
+++ pr41181.c (working copy)
@@ -1,3 +1,4 @@
+/* { dg-skip-if "The array is too big" { "avr-*-*" } { "*" } { "" } } */
char paths[1024];
static void x264_slicetype_path(char (*best_paths)[250], int n, int length)
{