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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [stack-layout-2.c] - Blame information for rev 801

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 -fdump-rtl-expand" } */
3
void bar( char *);
4
int foo()
5
{
6
  int i=0;
7
  {
8
    char a[8000];
9
    bar(a);
10
    i += a[0];
11
  }
12
  {
13
    char a[8192];
14
    char b[32];
15
    bar(a);
16
    i += a[0];
17
    bar(b);
18
    i += a[0];
19
  }
20
  return i;
21
}
22
/* { dg-final { scan-rtl-dump "size 8192" "expand" } } */
23
/* { dg-final { scan-rtl-dump "size 32" "expand" } } */
24
/* { 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.