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/] [ssa-lim-5.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-O" } */
3
 
4
/* We should apply store motion here.  */
5
 
6
struct BUF1
7
{
8
  int b1;
9
  int b12;
10
};
11
 
12
void link_error();
13
 
14
int foo(struct BUF1 * p)
15
{
16
    int i = 0;
17
#if(__SIZEOF_INT__ >= 4)    
18
    for (i = 0; i < 1024*1024; i++)
19
#else
20
    for (i = 0; i <  128*128; i++)
21
#endif
22
      p->b1 = 1;
23
 
24
    if (p->b1 != 1)
25
      link_error ();
26
    return 0;
27
}
28
 
29
int main() { return 0; }

powered by: WebSVN 2.1.0

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