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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20030123-1.c] - Rev 867

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

/* This used to ICE due to a reload bug on s390*.  */
 
/* { dg-do compile { target s390*-*-* } } */
/* { dg-options "-O2 -fno-omit-frame-pointer" } */
 
extern void *alloca (__SIZE_TYPE__);
 
void func (char *p);
 
void test (void)
{
   char *p = alloca (4096);
   long idx;
 
   asm ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12");
 
   func (p + idx + 1);
}
 
 

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.