Commit 8861e60f by Tom de Vries Committed by Tom de Vries

re PR middle-end/43513 (The stack pointer is adjusted twice)

2011-08-31  Tom de Vries  <tom@codesourcery.com>

	PR middle-end/43513
	* gcc.dg/pr43513.c: New test.

From-SVN: r178354
parent 1fed1006
2011-08-31 Tom de Vries <tom@codesourcery.com>
PR middle-end/43513
* gcc.dg/pr43513.c: New test.
2011-08-30 Tobias Burnus <burnus@net-b.de>
PR fortran/45044
......
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-ccp2" } */
void bar (int *);
void foo (char *, int);
void
foo3 ()
{
const int kIterations = 10;
int results[kIterations];
int i;
bar (results);
for (i = 0; i < kIterations; i++)
foo ("%d ", results[i]);
}
/* { dg-final { scan-tree-dump-times "alloca" 0 "ccp2"} } */
/* { dg-final { cleanup-tree-dump "ccp2" } } */
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