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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr25860.c] - Rev 826

Compare with Previous | Blame | View Log

/* We used to ICE because PRE would try to PRE the load of *Note from the
   loop. */
 
struct g
{
  int i;
};
struct f
{
  struct g i;
};
int GSM_RingNoteGetFullDuration(struct g)__attribute__((const));
void savewav(struct f *gg)
{
  struct g *Note;
  long i = 0,j,length=0;
  Note = &gg->i;
  for (j=0;j<GSM_RingNoteGetFullDuration(*Note);j++)
    ;
}
 

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.