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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [winline-7.c] - Blame information for rev 20

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* { dg-do compile } */
2
/* { dg-options "-Winline -O2" } */
3
 
4
extern void *alloca (__SIZE_TYPE__);
5
 
6
void big (void);
7
inline void *q (void)
8
{                               /* { dg-warning "(function not inlinable|alloca)" } */
9
        return alloca (10);
10
}
11
inline void *t (void)
12
{
13
        return q ();             /* { dg-warning "called from here" } */
14
}

powered by: WebSVN 2.1.0

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