diff mbox

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

Message ID dba5a361-8743-3771-399c-af00324dafa8@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay Nov. 22, 2016, 3:12 p.m. UTC
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.
diff mbox

Patch

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)