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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [m68k/] [slp-ice.c] - Rev 816

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

/* From PR 7872, test for optabs segfault when strict low part is present.  */
/* { dg-do compile { target m68k-*-* } }  */
/* { dg-options "-O0" }  */
extern void (**table)(void);
 
typedef unsigned short uw16;
typedef unsigned int gshort;
 
register uw16 *pc asm("%a4");
register gshort code asm("%d6");
 
void QMExecuteLoop(uw16 *oldPC)
{
  table[code=(*(uw16*)(pc++))]();
}
 

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.