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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [winline-9.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 -Winline --param large-stack-frame=10 --param large-stack-frame-growth=2" } */
3
 
4
int a,b;
5
void test(char *);
6
static inline
7
int aa (void)
8
{
9
  char t[10];
10
  test(t);
11
}
12
static inline
13
int bb (void) /* { dg-warning "large-stack-frame" "" } */
14
{
15
  char t[100];
16
  test(t);
17
}
18
 
19
t()
20
{
21
  if (a)
22
    aa();
23
  if (b)
24
    bb();                       /* { dg-warning "called from here" "" } */
25
}

powered by: WebSVN 2.1.0

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