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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [winline-5.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Winline -O2 --param inline-unit-growth=0 --param large-unit-insns=0" } */
3
 
4
void big (void);
5
inline int q(void) /* { dg-warning "inline-unit-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 q1(void)
19
{
20
        big();
21
        big();
22
        big();
23
}
24
int t (void)
25
{
26
 /* We allow one inlining over limit.  */
27
        q1();
28
        return q ();             /* { dg-warning "called from here" } */
29
}

powered by: WebSVN 2.1.0

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