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] - Rev 298

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; }
 

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.