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/] [ssa-lim-5.c] - Rev 298

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

/* { dg-do link } */
/* { dg-options "-O" } */
 
/* We should apply store motion here.  */
 
struct BUF1
{
  int b1;
  int b12;
};
 
void link_error();
 
int foo(struct BUF1 * p)
{
    int i = 0;
#if(__SIZEOF_INT__ >= 4)    
    for (i = 0; i < 1024*1024; i++)
#else
    for (i = 0; i <  128*128; i++)
#endif
      p->b1 = 1;
 
    if (p->b1 != 1)
      link_error ();
    return 0;
}
 
int main() { return 0; }
 

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

powered by: WebSVN 2.1.0

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