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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ivopts-2.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-ivopts-details" } */
3
 
4
long last_data_offset;
5
int store;
6
char *data;
7
 
8
f ()
9
{
10
 
11
  long data_offset = last_data_offset;
12
  char *p;
13
 
14
  for (p = data; *p; p++)
15
    {
16
      data_offset++;
17
      g (data_offset);
18
      store = data_offset + 1;
19
    }
20
}
21
 
22
/* We should only have two IVs.  */
23
/* { dg-final { scan-tree-dump-not "\\n  candidates \\d+, \\d+,\[^\\n\]*\\n\[^\\n\]*\\nFinal cost" "ivopts" } }  */
24
/* { dg-final { cleanup-tree-dump "ivopts" } }  */

powered by: WebSVN 2.1.0

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