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]

[testsuite,committed]: Restrict 2 test cases to big targets.


This adds requirements for 2 test cases:

loop-split.c needs 32-bit int at least. Use int32plus as I didn't intend to change the very test case.

gcc.dg/stack-layout-dynamic-1.c aligns the stack to 16 bits so ptr32plus seems reasonable.

Committed  to trunk.

Johann



gcc/testsuite/
	* gcc.dg/loop-split.c: Require int32plus.
	* gcc.dg/stack-layout-dynamic-1.c: Require ptr32plus.

Index: gcc.dg/loop-split.c
===================================================================
--- gcc.dg/loop-split.c (revision 242541)
+++ gcc.dg/loop-split.c (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -fsplit-loops -fdump-tree-lsplit-details" } */
+/* { dg-require-effective-target int32plus } */

 #ifdef __cplusplus
 extern "C" int printf (const char *, ...);
Index: gcc.dg/stack-layout-dynamic-1.c
===================================================================
--- gcc.dg/stack-layout-dynamic-1.c     (revision 242541)
+++ gcc.dg/stack-layout-dynamic-1.c     (working copy)
@@ -2,6 +2,7 @@
    in one pass together with normal local variables.  */
 /* { dg-do compile } */
 /* { dg-options "-O0 -fomit-frame-pointer" } */
+/* { dg-require-effective-target ptr32plus } */

 extern void bar (void *, void *, void *);
 void foo (void)


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