Commit 424101dd by Tom de Vries Committed by Tom de Vries

Reduce stack size in gcc.dg/tree-ssa/ldist-27.c

2017-10-20  Tom de Vries  <tom@codesourcery.com>

	* gcc.dg/tree-ssa/ldist-27.c: Remove dg-require-stack-size.
	(main): Move s ...
	(s): ... here.

From-SVN: r253929
parent e8679fd5
2017-10-20 Tom de Vries <tom@codesourcery.com>
* gcc.dg/tree-ssa/ldist-27.c: Remove dg-require-stack-size.
(main): Move s ...
(s): ... here.
2017-10-20 Jakub Jelinek <jakub@redhat.com>
PR target/82158
......
/* { dg-do run } */
/* { dg-options "-O3 -ftree-loop-distribute-patterns -fdump-tree-ldist-details" } */
/* { dg-require-stack-size "(300 + 200 + 300 * 200) * 8" } */
#define M (300)
#define N (200)
......@@ -12,7 +11,8 @@ struct st
double c[M][N];
};
int __attribute__ ((noinline)) foo (struct st *s)
int __attribute__ ((noinline))
foo (struct st *s)
{
int i, j;
for (i = 0; i != M;)
......@@ -30,9 +30,11 @@ L2:
return 0;
}
int main (void)
struct st s;
int
main (void)
{
struct st s;
return foo (&s);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment