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.target/] [s390/] [20041109-1.c] - Rev 324

Compare with Previous | Blame | View Log

/* This used to ICE due to a literal pool handling bug on s390x.  */
 
/* { dg-do compile } */
/* { dg-options "-O2 -fno-omit-frame-pointer" } */
 
static struct table { int x; } table[3];
 
int test (void)
{
  struct table *t;
 
  for (t = table; t < &table[3]; t++)
    asm volatile ("" : : : "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12");
 
  for (t = table; t < &table[3]; t++)
    if (t->x)
      return 1;
 
  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.