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] - Rev 827

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

/* This used to ICE due to a regmove problem on s390.  */
 
/* { dg-do compile { target s390*-*-* } } */
/* { dg-options "-O2" } */
 
 
extern void abort (void);
extern void **alloc (void);
 
void *test (void)
{
  void **p = alloc ();
  if (!p) abort ();
 
  __builtin_set_thread_pointer (p);
  return *p;
}
 
 

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.