Commit 3e0694cf by Tom de Vries Committed by Tom de Vries

ivopts-lt.c: New test.

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

	* gcc.dg/tree-ssa/ivopts-lt.c: New test.

From-SVN: r178105
parent d8af4ba3
2011-08-26 Tom de Vries <tom@codesourcery.com>
* gcc.dg/tree-ssa/ivopts-lt.c: New test.
2011-08-26 Jiangning Liu <jiangning.liu@arm.com>
* gcc.target/arm/thumb2-cond-cmp-1.c: New.
......
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-ivopts" } */
void
f1 (char *p, unsigned long int i, unsigned long int n)
{
p += i;
do
{
*p = '\0';
p += 1;
i++;
}
while (i < n);
}
/* { dg-final { scan-tree-dump-times "PHI" 1 "ivopts"} } */
/* { dg-final { scan-tree-dump-times "PHI <p_" 1 "ivopts"} } */
/* { dg-final { scan-tree-dump-times "p_\[0-9\]* <" 1 "ivopts"} } */
/* { dg-final { cleanup-tree-dump "ivopts" } } */
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