OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [verbose-asm.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Test whether -fverbose-asm works.  */
2
/* { dg-do compile } */
3
/* { dg-options "-fverbose-asm" } */
4
 
5
void foo (int *x)
6
{
7
  (*x)++;
8
}
9
 
10
int bar (int *y)
11
{
12
  int a, b;
13
  b = 10;
14
  a = 26;
15
  foo (&a);
16
  a += 10;
17
  foo (&a);
18
  *y--;
19
  return b;
20
}
21
 
22
int
23
main (int argc, char *argv [])
24
{
25
  bar (&argc);
26
  return 0;
27
}

powered by: WebSVN 2.1.0

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