This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite,committed]: Restrict 2 test cases to big targets.
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 22 Nov 2016 16:12:04 +0100
- Subject: [testsuite,committed]: Restrict 2 test cases to big targets.
- Authentication-results: sourceware.org; auth=none
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)