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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [s390/] [20041109-1.c] - Blame information for rev 324

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

Line No. Rev Author Line
1 324 jeremybenn
/* This used to ICE due to a literal pool handling bug on s390x.  */
2
 
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -fno-omit-frame-pointer" } */
5
 
6
static struct table { int x; } table[3];
7
 
8
int test (void)
9
{
10
  struct table *t;
11
 
12
  for (t = table; t < &table[3]; t++)
13
    asm volatile ("" : : : "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12");
14
 
15
  for (t = table; t < &table[3]; t++)
16
    if (t->x)
17
      return 1;
18
 
19
  return 0;
20
}
21
 

powered by: WebSVN 2.1.0

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