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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-ccp2" } */
3
 
4
void bar (int *);
5
void foo (char *, int);
6
 
7
void
8
foo3 ()
9
{
10
  const int kIterations = 10;
11
  int results[kIterations];
12
  int i;
13
  bar (results);
14
  for (i = 0; i < kIterations; i++)
15
    foo ("%d ", results[i]);
16
}
17
 
18
/* { dg-final { scan-tree-dump-times "alloca" 0 "ccp2"} } */
19
/* { dg-final { cleanup-tree-dump "ccp2" } } */

powered by: WebSVN 2.1.0

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