OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [loop-29.c] - Blame information for rev 816

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR 31885 */
2
 
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -fdump-tree-optimized" } */
5
 
6
struct s {
7
    int *blah;
8
};
9
 
10
static struct s array[] = { { 0 } };
11
 
12
void
13
foo (struct s *p)
14
{
15
  struct s *q = &array[1];
16
  while (p < q)
17
    p++;
18
}
19
 
20
/* { dg-final { scan-tree-dump-not "if" "optimized" } } */
21
/* { dg-final { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.