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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [asmgoto-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
void fn (void);
2
 
3
void
4
foo (void *x, unsigned long y)
5
{
6
  asm goto ("": : : : lab);
7
lab:
8
  fn ();
9
}
10
 
11
static void
12
bar (unsigned long x)
13
{
14
  foo (0, x);
15
}
16
 
17
static void
18
baz (unsigned long x)
19
{
20
  if (x > 8192)
21
    bar (x);
22
  else
23
    ({ __here: (unsigned long) &&__here; });
24
}
25
 
26
void
27
test (void)
28
{
29
  baz (16384);
30
}

powered by: WebSVN 2.1.0

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