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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [s390/] [20041109-1.c] - Rev 858

Go to most recent revision | 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;
}
 
 

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.