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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20100518_0.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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.