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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [dwarf2/] [ipa-cp1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -gdwarf-2 -dA" } */
3
void q(int p);
4
static void
5
t(int constant_propagated_par)
6
{
7
  int local_var = constant_propagated_par + 1;
8
  q(local_var);
9
  q(local_var);
10
  q(local_var);
11
  q(local_var);
12
  q(local_var);
13
  q(local_var);
14
  q(local_var);
15
  q(local_var);
16
  q(local_var);
17
  q(local_var);
18
  q(local_var);
19
}
20
main()
21
{
22
  t(5);
23
  t(5);
24
  t(5);
25
  t(5);
26
  t(5);
27
  t(5);
28
  t(5);
29
}
30
/* { dg-final { scan-assembler "local_var" } } */

powered by: WebSVN 2.1.0

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