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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [m68k-slp-ice.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* From PR 7872, test for optabs segfault when strict low part is present.  */
2
/* { dg-do compile { target m68k-*-* } }  */
3
/* { dg-options "-O0" }  */
4
extern void (**table)(void);
5
 
6
typedef unsigned short uw16;
7
typedef unsigned int gshort;
8
 
9
register uw16 *pc asm("%a4");
10
register gshort code asm("%d6");
11
 
12
void QMExecuteLoop(uw16 *oldPC)
13
{
14
  table[code=(*(uw16*)(pc++))]();
15
}

powered by: WebSVN 2.1.0

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