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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20050409-1.c] - Blame information for rev 867

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

Line No. Rev Author Line
1 149 jeremybenn
/* This used to ICE due to a regmove problem on s390.  */
2
 
3
/* { dg-do compile { target s390*-*-* } } */
4
/* { dg-options "-O2" } */
5
 
6
 
7
extern void abort (void);
8
extern void **alloc (void);
9
 
10
void *test (void)
11
{
12
  void **p = alloc ();
13
  if (!p) abort ();
14
 
15
  __builtin_set_thread_pointer (p);
16
  return *p;
17
}
18
 

powered by: WebSVN 2.1.0

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