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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr49000.c] - Blame information for rev 749

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/49000 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -g" } */
4
 
5
static
6
foo (int x, int y)
7
{
8
  return x * y;
9
}
10
 
11
static int
12
bar (int *z)
13
{
14
  return *z;
15
}
16
 
17
void
18
baz (void)
19
{
20
  int a = 42;
21
  int *b = &a;
22
  foo (bar (&a), 3);
23
}
24
 
25
void
26
test (void)
27
{
28
  baz ();
29
}

powered by: WebSVN 2.1.0

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