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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr51491.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-rtl-expand" } */
3
 
4
 
5
int g(int*);
6
 
7
int f(void)
8
{
9
  int tt = 0;
10
  int t = 4;
11
  {
12
    int a[t];
13
    tt = g(a);
14
    tt += a[0];
15
  }
16
  {
17
    int a[4];
18
    tt += g(a);
19
    tt += a[0];
20
  }
21
  return tt;
22
}
23
 
24
/* { dg-final { scan-rtl-dump-times "Partition" 1 "expand"} } */
25
/* { dg-final { cleanup-rtl-dump "expand" } } */

powered by: WebSVN 2.1.0

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