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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [verbose-asm.c] - Blame information for rev 750

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

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