This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)
{


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]