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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [winline-6.c] - Blame information for rev 724

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 "-Winline -O2 --param large-function-growth=0 --param large-function-insns=1" } */
3
 
4
void big (void);
5
inline int q(void) /* { dg-warning "large-function-growth" } */
6
{
7
        big();
8
        big();
9
        big();
10
        big();
11
        big();
12
        big();
13
        big();
14
        big();
15
        big();
16
        big();
17
}
18
inline int t (void)
19
{
20
        return q () + 1;         /* { dg-warning "called from here" } */
21
}

powered by: WebSVN 2.1.0

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