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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20100518_0.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-lto-do link } */
2
/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
3
/* Forgot to steam in/out the number of labels for asm goto.  PR44184.  */
4
 
5
extern int printf (__const char *__restrict __format, ...);
6
 
7
int x = 1;
8
int main ()
9
{
10
    asm goto ("decl %0; jnz %l[a]" :: "m"(x) : "memory" : a);
11
    printf ("Hello world\n");
12
a:
13
    return 0;
14
}

powered by: WebSVN 2.1.0

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